mirror of
https://github.com/immich-app/immich.git
synced 2026-05-20 14:52:34 -04:00
0a4ed6fd71
* refactor: app metadata * refactor to per row store * cleanup * more test * review changes * more refactor * refactor * migrate primary color * migrate dynamic theme * migrate colorfulInterface * cleanup providers * migrate cleanup * migrate mapconfig * remove unused keys * migrate timeline config * migrate image config * migrate viewer config --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
12 lines
317 B
Dart
12 lines
317 B
Dart
import 'package:immich_mobile/domain/models/store.model.dart';
|
|
|
|
enum Setting<T> {
|
|
advancedTroubleshooting<bool>(StoreKey.advancedTroubleshooting, false),
|
|
enableBackup<bool>(StoreKey.enableBackup, false);
|
|
|
|
const Setting(this.storeKey, this.defaultValue);
|
|
|
|
final StoreKey<T> storeKey;
|
|
final T defaultValue;
|
|
}
|