fix: hide FAB when no patches selected.

This commit is contained in:
Alberto Ponces
2022-08-10 00:49:17 +01:00
parent 84923127e2
commit cc47584643
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ import 'package:stacked_services/stacked_services.dart';
class PatcherViewModel extends BaseViewModel {
final _navigationService = locator<NavigationService>();
bool dimPatchCard = true;
bool hideFabButton = true;
bool showFabButton = false;
void navigateToAppSelector() {
_navigationService.navigateTo(Routes.appSelectorView);