revanced-manager/lib/ui/views/patcher/patcher_viewmodel.dart

13 lines
429 B
Dart
Raw Normal View History

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);
}
}