2022-04-23 21:08:45 -05:00
|
|
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
2024-04-30 21:36:40 -05:00
|
|
|
import 'package:immich_mobile/entities/user.entity.dart';
|
2024-05-02 15:59:14 -05:00
|
|
|
import 'package:immich_mobile/services/user.service.dart';
|
2022-04-23 21:08:45 -05:00
|
|
|
|
2023-05-25 05:52:43 +02:00
|
|
|
final otherUsersProvider = FutureProvider.autoDispose<List<User>>((ref) {
|
2022-06-26 03:46:51 +09:00
|
|
|
UserService userService = ref.watch(userServiceProvider);
|
2022-04-23 21:08:45 -05:00
|
|
|
|
2024-09-24 14:50:21 +02:00
|
|
|
return userService.getUsers();
|
2022-04-23 21:08:45 -05:00
|
|
|
});
|