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

@@ -49,7 +49,8 @@ class ShareProvider extends ChangeNotifier {
'shadow_effect': settings.shadowEffect,
'theme_mode': settings.theme == ThemeMode.dark
? 'dark'
: (settings.theme == ThemeMode.light ? 'light' : null)
: (settings.theme == ThemeMode.light ? 'light' : null),
'font_family': settings.fontFamily,
};
SharedTheme theme = SharedTheme.fromJson(themeJson, gradeColors);