mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			212 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			212 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
import 'package:hooks_riverpod/hooks_riverpod.dart';
 | 
						|
 | 
						|
enum TabEnum { home, search, albums, library }
 | 
						|
 | 
						|
/// Provides the currently active tab
 | 
						|
final tabProvider = StateProvider<TabEnum>(
 | 
						|
  (ref) => TabEnum.home,
 | 
						|
);
 |