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.
12 lines
429 B
Dart
12 lines
429 B
Dart
import 'package:revanced_manager_flutter/app/app.locator.dart';
|
|
import 'package:revanced_manager_flutter/app/app.router.dart';
|
|
import 'package:stacked/stacked.dart';
|
|
import 'package:stacked_services/stacked_services.dart';
|
|
|
|
class PatcherViewModel extends BaseViewModel {
|
|
final _naviagtionService = locator<NavigationService>();
|
|
|
|
void navigateToAppSelector() {
|
|
_naviagtionService.navigateTo(Routes.appSelectorView);
|
|
}
|
|
}
|