mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
13 lines
348 B
Dart
13 lines
348 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);
|
||
|
|
|
||
|
|
const Setting(this.storeKey, this.defaultValue);
|
||
|
|
|
||
|
|
final StoreKey<T> storeKey;
|
||
|
|
final T defaultValue;
|
||
|
|
}
|