fix in share provider

This commit is contained in:
Kima
2023-09-09 00:02:57 +02:00
parent 67721112cc
commit eb20fc1457
2 changed files with 16 additions and 2 deletions

View File

@@ -33,8 +33,9 @@ class ShareProvider extends ChangeNotifier {
SettingsProvider.defaultSettings().customHighlightColor)
?.value,
'accent_color': (settings.customAccentColor ??
SettingsProvider.defaultSettings().customAccentColor)
?.value,
SettingsProvider.defaultSettings().customAccentColor)
?.value ??
const Color(0xFF3D7BF4).value,
};
SharedTheme theme = SharedTheme.fromJson(themeJson);