refactor: remove riverpod generator (#27874)

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong
2026-04-17 20:01:44 +05:30
committed by GitHub
parent a456a05052
commit 2070f775d6
43 changed files with 128 additions and 1362 deletions
+1 -5
View File
@@ -1,8 +1,4 @@
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:immich_mobile/services/api.service.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';
part 'api.provider.g.dart';
@Riverpod(keepAlive: true)
ApiService apiService(Ref _) => ApiService();
final apiServiceProvider = Provider((_) => ApiService());