mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
migrate dynamic theme
This commit is contained in:
@@ -14,9 +14,9 @@ final immichThemePresetProvider = StateProvider<ImmichColorPreset>(
|
||||
(ref) => ref.watch(appConfigProvider.select((config) => config.theme.primaryColor)),
|
||||
);
|
||||
|
||||
final dynamicThemeSettingProvider = StateProvider<bool>((ref) {
|
||||
return ref.watch(appSettingsServiceProvider).getSetting(AppSettingsEnum.dynamicTheme);
|
||||
});
|
||||
final dynamicThemeSettingProvider = StateProvider<bool>(
|
||||
(ref) => ref.watch(appConfigProvider.select((config) => config.theme.dynamicTheme)),
|
||||
);
|
||||
|
||||
final colorfulInterfaceSettingProvider = StateProvider<bool>((ref) {
|
||||
return ref.watch(appSettingsServiceProvider).getSetting(AppSettingsEnum.colorfulInterface);
|
||||
|
||||
Reference in New Issue
Block a user