mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-29 09:55:53 +00:00
8 lines
212 B
Dart
8 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,
|
|
);
|