mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 16:41:59 +00:00
c1253663b7
* refactor(mobile): services and provider * providers
13 lines
222 B
Dart
13 lines
222 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
|
|
enum TabEnum {
|
|
home,
|
|
search,
|
|
sharing,
|
|
library,
|
|
}
|
|
|
|
/// Provides the currently active tab
|
|
final tabProvider = StateProvider<TabEnum>(
|
|
(ref) => TabEnum.home,
|
|
);
|