mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore(mobile): upgrade riverpod (#16742)
This commit is contained in:
parent
17c5094719
commit
82624b0979
40 changed files with 157 additions and 96 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
import 'package:immich_mobile/repositories/activity_api.repository.dart';
|
||||
import 'package:immich_mobile/services/activity.service.dart';
|
||||
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||
|
|
@ -5,5 +6,5 @@ import 'package:riverpod_annotation/riverpod_annotation.dart';
|
|||
part 'activity_service.provider.g.dart';
|
||||
|
||||
@riverpod
|
||||
ActivityService activityService(ActivityServiceRef ref) =>
|
||||
ActivityService activityService(Ref ref) =>
|
||||
ActivityService(ref.watch(activityApiRepositoryProvider));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue