You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-07-08 06:23:00 +02:00
* reduce timeline rebuilds * feat: adds bottom sheet map and actions (#19692) * adds bottom sheet map and actions * PR feedbacks * only reload the asset viewer if asset is changed * styling tweak --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Co-authored-by: Alex <alex.tran1502@gmail.com> * rename singleton and remove event prefix --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Co-authored-by: Alex <alex.tran1502@gmail.com>
17 lines
540 B
Dart
17 lines
540 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),
|
|
preferRemoteImage<bool>(StoreKey.preferRemoteImage, false),
|
|
advancedTroubleshooting<bool>(StoreKey.advancedTroubleshooting, false),
|
|
;
|
|
|
|
const Setting(this.storeKey, this.defaultValue);
|
|
|
|
final StoreKey<T> storeKey;
|
|
final T defaultValue;
|
|
}
|