finished font family changing and sharing on client-side

This commit is contained in:
Kima
2024-02-18 21:12:03 +01:00
parent 4a1aa75cb2
commit 304e0ea877
5 changed files with 12 additions and 2 deletions

View File

@@ -560,6 +560,9 @@ class PaintListScreenState extends State<PaintListScreen>
store: true,
);
// changing font family
settingsProvider.update(fontFamily: newThemeByID!.fontFamily);
// seems weird but it works, trust me (idk why)
await settingsProvider.update(theme: settingsProvider.theme, store: true);
Provider.of<ThemeModeObserver>(context, listen: false)

View File

@@ -802,7 +802,7 @@ class PersonalizeSettingsScreenState extends State<PersonalizeSettingsScreen>
),
),
leading: Icon(
FeatherIcons.globe,
FeatherIcons.type,
size: 22.0,
color: AppColors.of(context).text.withOpacity(.95),
),