Change internal font size from from 15 to 20.
This commit is contained in:
parent
b50046f1ab
commit
c0ac44e471
4 changed files with 60 additions and 59 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue