mirror of
https://github.com/immich-app/immich.git
synced 2025-08-11 09:16:31 -04:00
* chore: bump dart sdk to 3.8 * chore: make build * make pigeon * chore: format files --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
18 lines
650 B
Dart
18 lines
650 B
Dart
import 'package:immich_mobile/domain/models/store.model.dart';
|
|
|
|
enum Setting<T> {
|
|
tilesPerRow<int>(StoreKey.tilesPerRow, 4),
|
|
groupAssetsBy<int>(StoreKey.groupAssetsBy, 0),
|
|
showStorageIndicator<bool>(StoreKey.storageIndicator, true),
|
|
loadOriginal<bool>(StoreKey.loadOriginal, false),
|
|
loadOriginalVideo<bool>(StoreKey.loadOriginalVideo, false),
|
|
preferRemoteImage<bool>(StoreKey.preferRemoteImage, false),
|
|
advancedTroubleshooting<bool>(StoreKey.advancedTroubleshooting, false),
|
|
enableBackup<bool>(StoreKey.enableBackup, false);
|
|
|
|
const Setting(this.storeKey, this.defaultValue);
|
|
|
|
final StoreKey<T> storeKey;
|
|
final T defaultValue;
|
|
}
|