feat: Make font size configurable

This commit is contained in:
Christian Pauly 2021-02-07 08:59:58 +01:00
commit add6a8496c
8 changed files with 65 additions and 14 deletions

View file

@ -380,6 +380,8 @@ class MatrixState extends State<Matrix> {
wallpaper = file;
}
});
store.getItem(SettingKeys.fontSizeFactor).then((value) => AppConfig
.fontSizeFactor = double.tryParse(value) ?? AppConfig.fontSizeFactor);
store
.getItemBool(SettingKeys.renderHtml, AppConfig.renderHtml)
.then((value) => AppConfig.renderHtml = value);