feat: Change the bubble padding in style settings

This commit is contained in:
S1m 2022-01-03 22:19:51 +00:00 committed by Krille Fear
commit cfb668f940
6 changed files with 51 additions and 17 deletions

View file

@ -86,6 +86,14 @@ class SettingsStyleController extends State<SettingsStyle> {
);
}
void changeBubbleSizeFactor(double d) {
setState(() => AppConfig.bubbleSizeFactor = d);
Matrix.of(context).store.setItem(
SettingKeys.bubbleSizeFactor,
AppConfig.bubbleSizeFactor.toString(),
);
}
@override
Widget build(BuildContext context) => SettingsStyleView(this);
}