mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix(mobile): add missed file
This commit is contained in:
parent
00570557a6
commit
3db323f158
1 changed files with 14 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
|
||||
class ViewIntentTrashScopeNotifier extends Notifier<bool> {
|
||||
@override
|
||||
bool build() => false;
|
||||
|
||||
void set(bool isTrashScoped) => state = isTrashScoped;
|
||||
|
||||
void clear() => state = false;
|
||||
}
|
||||
|
||||
final viewIntentTrashScopeProvider = NotifierProvider<ViewIntentTrashScopeNotifier, bool>(
|
||||
ViewIntentTrashScopeNotifier.new,
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue