mirror of
https://github.com/immich-app/immich.git
synced 2024-12-21 01:39:59 +02:00
10 lines
375 B
Dart
10 lines
375 B
Dart
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||
|
import 'package:immich_mobile/shared/models/user_info.model.dart';
|
||
|
import 'package:immich_mobile/shared/services/user.service.dart';
|
||
|
|
||
|
final suggestedSharedUsersProvider = FutureProvider.autoDispose<List<UserInfo>>((ref) async {
|
||
|
UserService userService = UserService();
|
||
|
|
||
|
return await userService.getAllUsersInfo();
|
||
|
});
|