Merge branch 'restore-bubble-padding' into 'main'

Restore bubble padding

See merge request famedly/fluffychat!679
This commit is contained in:
Krille Fear 2022-01-14 06:50:25 +00:00
commit bad45d983f

View File

@ -484,6 +484,9 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
store.getItem(SettingKeys.fontSizeFactor).then((value) => store.getItem(SettingKeys.fontSizeFactor).then((value) =>
AppConfig.fontSizeFactor = AppConfig.fontSizeFactor =
double.tryParse(value ?? '') ?? AppConfig.fontSizeFactor); double.tryParse(value ?? '') ?? AppConfig.fontSizeFactor);
store.getItem(SettingKeys.bubbleSizeFactor).then((value) =>
AppConfig.bubbleSizeFactor =
double.tryParse(value ?? '') ?? AppConfig.bubbleSizeFactor);
store store
.getItemBool(SettingKeys.renderHtml, AppConfig.renderHtml) .getItemBool(SettingKeys.renderHtml, AppConfig.renderHtml)
.then((value) => AppConfig.renderHtml = value); .then((value) => AppConfig.renderHtml = value);