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