Skip to content

Commit d63a0e9

Browse files
committed
feat(settings): add font selection options
- Added Roboto font option - Added OpenSans font option - Added Lato font option - Added Montserrat font option - Added Merriweather font option
1 parent a78d2cc commit d63a0e9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/settings/view/font_settings_page.dart

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,14 @@ class FontSettingsPage extends StatelessWidget {
9797
context: context,
9898
title: l10n.settingsAppearanceAppFontTypeLabel,
9999
currentValue: state.userAppSettings!.displaySettings.fontFamily,
100-
items: const ['SystemDefault'], // Currently only SystemDefault
100+
items: const [
101+
'SystemDefault',
102+
'Roboto',
103+
'OpenSans',
104+
'Lato',
105+
'Montserrat',
106+
'Merriweather',
107+
], // Updated font list
101108
itemToString: (fontFamily) => _fontFamilyToString(fontFamily, l10n),
102109
onChanged: (value) {
103110
if (value != null) {

0 commit comments

Comments
 (0)