mirror of
https://github.com/immich-app/immich.git
synced 2024-11-30 09:47:31 +02:00
6995cc2b38
* refactor(mobile): encapsulate most access to photomanager in repository
14 lines
429 B
Dart
14 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;
|
|
}
|