You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Mobile: Custom mobile editor font (#1797)
* Make editor font "Menlo" * Add .vscode/* to .gitignore * Add "editor font" config UI * Render "editor font" chosen in config * Add shim.mobilePlatform() * Use style.editor.fontFamily rather than editorFont * Add default font option * Fixed for Android
This commit is contained in:
committed by
Laurent Cozic
parent
fe9a037cf9
commit
4ba4910a9c
@ -41,6 +41,10 @@ shim.platformName = function() {
|
||||
throw new Error('Cannot determine platform');
|
||||
};
|
||||
|
||||
shim.mobilePlatform = function() {
|
||||
return ''; // Default if we're not on mobile (React Native)
|
||||
};
|
||||
|
||||
// https://github.com/cheton/is-electron
|
||||
shim.isElectron = () => {
|
||||
// Renderer process
|
||||
|
Reference in New Issue
Block a user