mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 16:41:59 +00:00
c1253663b7
* refactor(mobile): services and provider * providers
9 lines
350 B
Dart
9 lines
350 B
Dart
import 'package:immich_mobile/services/activity.service.dart';
|
|
import 'package:immich_mobile/providers/api.provider.dart';
|
|
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
|
|
|
part 'activity_service.provider.g.dart';
|
|
|
|
@riverpod
|
|
ActivityService activityService(ActivityServiceRef ref) =>
|
|
ActivityService(ref.watch(apiServiceProvider));
|