Change internal font size from from 15 to 20.
This commit is contained in:
@@ -180,7 +180,7 @@ export const SETTINGS = {
|
||||
"fontSize": {
|
||||
displayName: _td("Font size"),
|
||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||
default: 15,
|
||||
default: 20,
|
||||
controller: new FontSizeController(),
|
||||
},
|
||||
"useCustomFontSize": {
|
||||
|
||||
@@ -45,7 +45,8 @@ export class FontWatcher implements IWatcher {
|
||||
};
|
||||
|
||||
private setRootFontSize = (size) => {
|
||||
const fontSize = Math.max(Math.min(FontWatcher.MAX_SIZE, size), FontWatcher.MIN_SIZE);
|
||||
// Externally we tell the user the font is size 15. Internally we use 20.
|
||||
const fontSize = Math.max(Math.min(FontWatcher.MAX_SIZE, size), FontWatcher.MIN_SIZE) + 5;
|
||||
|
||||
if (fontSize !== size) {
|
||||
SettingsStore.setValue("fontSize", null, SettingLevel.Device, fontSize);
|
||||
|
||||
Reference in New Issue
Block a user