From e89d58550d9c60e4a860a7c2fcb25f25e17221fa Mon Sep 17 00:00:00 2001 From: emavgl Date: Sat, 9 Mar 2024 10:36:19 +0100 Subject: [PATCH] Experiment with fontsize --- assets/locales/en_US.json | 1 + lib/settings/customization-page.dart | 4 ++-- lib/settings/dropdown-customization-item.dart | 5 ++--- lib/settings/style.dart | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/locales/en_US.json b/assets/locales/en_US.json index bbcf3ea9..53cdd987 100644 --- a/assets/locales/en_US.json +++ b/assets/locales/en_US.json @@ -105,6 +105,7 @@ "Decimal separator": "Decimal separator", "Grouping separator": "Grouping separator", "Overwrite grouping separator": "Overwrite grouping separator", + "none": "none", "dot": "dot", "comma": "comma", "space": "space", diff --git a/lib/settings/customization-page.dart b/lib/settings/customization-page.dart index 302259a6..60eeda17 100644 --- a/lib/settings/customization-page.dart +++ b/lib/settings/customization-page.dart @@ -257,8 +257,8 @@ class CustomizationPageState extends State { fetchAllThePreferences(); }); }, - title: - Text("Restore all the default configurations".i18n, style: titleTextStyle), + title: Text("Restore all the default configurations".i18n, + style: titleTextStyle), ) ], ), diff --git a/lib/settings/dropdown-customization-item.dart b/lib/settings/dropdown-customization-item.dart index 41f4a860..642e44ed 100644 --- a/lib/settings/dropdown-customization-item.dart +++ b/lib/settings/dropdown-customization-item.dart @@ -182,9 +182,8 @@ class DropdownCustomizationItemState subtitle: Text( selectedDropdownKey, style: TextStyle( - color: Theme.of(context).colorScheme.secondary, - fontSize: subTitleFontSize - ), + color: Theme.of(context).colorScheme.secondary, + fontSize: subTitleFontSize), ), contentPadding: EdgeInsets.fromLTRB(20, 8, 10, 10), ); diff --git a/lib/settings/style.dart b/lib/settings/style.dart index bd3e0a39..ed2e7801 100644 --- a/lib/settings/style.dart +++ b/lib/settings/style.dart @@ -4,4 +4,4 @@ const double titleFontSize = 16; const double subTitleFontSize = 14; const TextStyle titleTextStyle = TextStyle(fontSize: titleFontSize); -const TextStyle subtitleTextStyle = TextStyle(fontSize: subTitleFontSize); \ No newline at end of file +const TextStyle subtitleTextStyle = TextStyle(fontSize: subTitleFontSize);