mirror of
https://github.com/immich-app/immich.git
synced 2025-07-31 15:08:44 -04:00
* feat: video player * use remote asset id in local query * fix: error from pre-caching beyond total assets * fix: flipped local videos * incorrect aspect ratio on iOS * ignore other storage id during equals check --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
18 lines
602 B
Dart
18 lines
602 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),
|
|
;
|
|
|
|
const Setting(this.storeKey, this.defaultValue);
|
|
|
|
final StoreKey<T> storeKey;
|
|
final T defaultValue;
|
|
}
|