Skip to content

Commit

Permalink
Experiment with fontsize
Browse files Browse the repository at this point in the history
  • Loading branch information
emavgl committed Mar 9, 2024
1 parent 0c0121b commit e89d585
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions assets/locales/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions lib/settings/customization-page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ class CustomizationPageState extends State<CustomizationPage> {
fetchAllThePreferences();
});
},
title:
Text("Restore all the default configurations".i18n, style: titleTextStyle),
title: Text("Restore all the default configurations".i18n,
style: titleTextStyle),
)
],
),
Expand Down
5 changes: 2 additions & 3 deletions lib/settings/dropdown-customization-item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,8 @@ class DropdownCustomizationItemState<T>
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),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/settings/style.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ const double titleFontSize = 16;
const double subTitleFontSize = 14;

const TextStyle titleTextStyle = TextStyle(fontSize: titleFontSize);
const TextStyle subtitleTextStyle = TextStyle(fontSize: subTitleFontSize);
const TextStyle subtitleTextStyle = TextStyle(fontSize: subTitleFontSize);

0 comments on commit e89d585

Please sign in to comment.