mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-30 06:11:05 +00:00
feat: working patches selector and improve app selector.
This commit is contained in:
@@ -12,7 +12,9 @@ import 'package:stacked_core/stacked_core.dart';
|
||||
import 'package:stacked_services/src/navigation/navigation_service.dart';
|
||||
|
||||
import '../services/patcher_api.dart';
|
||||
import '../ui/views/app_selector/app_selector_viewmodel.dart';
|
||||
import '../ui/views/patcher/patcher_viewmodel.dart';
|
||||
import '../ui/views/patches_selector/patches_selector_viewmodel.dart';
|
||||
|
||||
final locator = StackedLocator.instance;
|
||||
|
||||
@@ -26,4 +28,6 @@ Future<void> setupLocator(
|
||||
locator.registerLazySingleton(() => NavigationService());
|
||||
locator.registerLazySingleton(() => PatcherService());
|
||||
locator.registerLazySingleton(() => PatcherViewModel());
|
||||
locator.registerLazySingleton(() => AppSelectorViewModel());
|
||||
locator.registerLazySingleton(() => PatchesSelectorViewModel());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user