mirror of
https://github.com/immich-app/immich.git
synced 2024-12-17 12:22:31 +02:00
bcc2c34eef
* feat(mobile): partner sharing * getAllAssets for other users * i18n * fix tests * try to fix web tests * shared with/by confusion * error logging * guard against outdated server version
10 lines
352 B
Dart
10 lines
352 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 otherUsersProvider = FutureProvider.autoDispose<List<User>>((ref) {
|
|
UserService userService = ref.watch(userServiceProvider);
|
|
|
|
return userService.getUsersInDb();
|
|
});
|