mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
try to re-format trash.provider.dart
This commit is contained in:
parent
22ae3e1da6
commit
874b2d157e
1 changed files with 4 additions and 4 deletions
|
|
@ -3,6 +3,10 @@ import 'package:immich_mobile/entities/asset.entity.dart';
|
|||
import 'package:immich_mobile/services/trash.service.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
|
||||
final trashProvider = StateNotifierProvider<TrashNotifier, bool>((ref) {
|
||||
return TrashNotifier(ref.watch(trashServiceProvider));
|
||||
});
|
||||
|
||||
class TrashNotifier extends StateNotifier<bool> {
|
||||
final TrashService _trashService;
|
||||
final _log = Logger('TrashNotifier');
|
||||
|
|
@ -39,7 +43,3 @@ class TrashNotifier extends StateNotifier<bool> {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
final trashProvider = StateNotifierProvider<TrashNotifier, bool>((ref) {
|
||||
return TrashNotifier(ref.watch(trashServiceProvider));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue