mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 10:56:47 +01:00
6995cc2b38
* refactor(mobile): encapsulate most access to photomanager in repository
13 lines
429 B
Dart
13 lines
429 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
import 'package:immich_mobile/entities/user.entity.dart';
|
|
import 'package:immich_mobile/providers/user.provider.dart';
|
|
import 'package:mocktail/mocktail.dart';
|
|
|
|
class MockCurrentUserProvider extends StateNotifier<User?>
|
|
with Mock
|
|
implements CurrentUserProvider {
|
|
MockCurrentUserProvider() : super(null);
|
|
|
|
@override
|
|
set state(User? user) => super.state = user;
|
|
}
|