mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-28 09:12:39 -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;
 | |
| }
 |