try to re-format trash.provider.dart

This commit is contained in:
Peter Ombodi 2025-08-07 18:59:33 +03:00
parent 22ae3e1da6
commit 874b2d157e

View file

@ -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));
});