mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-13 02:14:31 +01:00
769ff72f98
* feat: mostly done stacked architecture. * refactor: migration to stacked architecture.
8 lines
371 B
Dart
8 lines
371 B
Dart
import 'package:revanced_manager_flutter/app/app.locator.dart';
|
|
import 'package:revanced_manager_flutter/services/manager_api.dart';
|
|
import 'package:stacked/stacked.dart';
|
|
|
|
class HomeViewModel extends BaseViewModel {
|
|
Future downloadPatches() => locator<ManagerAPI>().downloadPatches();
|
|
Future downloadIntegrations() => locator<ManagerAPI>().downloadIntegrations();
|
|
}
|