fixed color things

This commit is contained in:
Kima
2024-03-20 21:21:37 +01:00
parent e188536d65
commit 3e7f38666e
3 changed files with 5 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ class StatusBarState extends State<StatusBar> {
decoration: BoxDecoration(
// borderRadius: BorderRadius.circular(1.0),
borderRadius: BorderRadius.zero,
color: AppColors.of(context).background,
color: Theme.of(context).scaffoldBackgroundColor,
),
padding: const EdgeInsets.only(left: 10.0, right: 10.0),
child: Text(

View File

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