1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01:00
immich/mobile/lib/providers/tab.provider.dart

9 lines
212 B
Dart
Raw Normal View History

import 'package:hooks_riverpod/hooks_riverpod.dart';
2024-10-10 10:44:14 +02:00
enum TabEnum { home, search, albums, library }
/// Provides the currently active tab
final tabProvider = StateProvider<TabEnum>(
(ref) => TabEnum.home,
);