mod: show text scale subtitle

This commit is contained in:
bggRGjQaUbCoE
2024-09-01 10:12:15 +08:00
parent 2aa372da04
commit 098f5764d4
5 changed files with 30 additions and 18 deletions

View File

@@ -30,7 +30,7 @@ class _FontSizeSelectPageState extends State<FontSizeSelectPage> {
setFontSize() {
setting.put(SettingBoxKey.defaultTextScale, currentSize);
Get.forceAppUpdate();
Get.back();
Get.back(result: currentSize);
}
@override
@@ -67,7 +67,7 @@ class _FontSizeSelectPageState extends State<FontSizeSelectPage> {
.colorScheme
.primary
.withOpacity(0.3))),
color: Theme.of(context).colorScheme.background,
color: Theme.of(context).colorScheme.surface,
),
child: Row(
children: [