1
0
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:
Devon Zuegel
2019-09-17 13:32:00 -07:00
committed by Laurent Cozic
parent fe9a037cf9
commit 4ba4910a9c
5 changed files with 73 additions and 5 deletions

View File

@ -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