2022-08-06 23:35:35 +02:00
|
|
|
import 'package:revanced_manager/app/app.locator.dart';
|
|
|
|
import 'package:revanced_manager/app/app.router.dart';
|
2022-08-06 14:13:28 +02:00
|
|
|
import 'package:stacked/stacked.dart';
|
|
|
|
import 'package:stacked_services/stacked_services.dart';
|
|
|
|
|
|
|
|
class PatcherViewModel extends BaseViewModel {
|
2022-08-07 21:15:52 +02:00
|
|
|
final _navigationService = locator<NavigationService>();
|
2022-08-09 03:30:12 +02:00
|
|
|
bool dimPatchCard = true;
|
2022-08-10 01:49:17 +02:00
|
|
|
bool showFabButton = false;
|
2022-08-06 14:13:28 +02:00
|
|
|
|
|
|
|
void navigateToAppSelector() {
|
2022-08-07 21:15:52 +02:00
|
|
|
_navigationService.navigateTo(Routes.appSelectorView);
|
|
|
|
}
|
|
|
|
|
|
|
|
void navigateToPatchesSelector() {
|
|
|
|
_navigationService.navigateTo(Routes.patchesSelectorView);
|
2022-08-06 14:13:28 +02:00
|
|
|
}
|
|
|
|
}
|