mirror of
https://github.com/immich-app/immich.git
synced 2024-12-19 00:32:49 +02:00
2139853dd9
replace usages of AlbumResponseDto with Album replace usages of UserResponseDto with User
11 lines
395 B
Dart
11 lines
395 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
import 'package:immich_mobile/shared/models/user.dart';
|
|
import 'package:immich_mobile/shared/services/user.service.dart';
|
|
|
|
final suggestedSharedUsersProvider =
|
|
FutureProvider.autoDispose<List<User>>((ref) async {
|
|
UserService userService = ref.watch(userServiceProvider);
|
|
|
|
return await userService.getAllUsers(isAll: false) ?? [];
|
|
});
|