mirror of
https://github.com/immich-app/immich.git
synced 2025-01-02 12:48:35 +02:00
11 lines
389 B
Dart
11 lines
389 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
import 'package:immich_mobile/shared/services/user.service.dart';
|
|
import 'package:openapi/api.dart';
|
|
|
|
final suggestedSharedUsersProvider =
|
|
FutureProvider.autoDispose<List<UserResponseDto>>((ref) async {
|
|
UserService userService = ref.watch(userServiceProvider);
|
|
|
|
return await userService.getAllUsersInfo(isAll: false) ?? [];
|
|
});
|