mirror of
https://github.com/immich-app/immich.git
synced 2024-11-19 11:58:57 -07:00
d02b97e1c1
* optimize android side gradle settings * android minsdk back to 21 * remove unused package, update linter and fix lint error * clean code of 'shared module' with offical dart style guide * restore uploadProfileImage method in UserService * add service provider * fix searchFocusNode init error
11 lines
387 B
Dart
11 lines
387 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
import 'package:immich_mobile/shared/models/user.model.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.getAllUsersInfo();
|
|
});
|