mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 04:37:37 +02:00
fix: hide FAB when no patches selected.
This commit is contained in:
@ -33,8 +33,8 @@ class PatchesSelectorViewModel extends BaseViewModel {
|
||||
}
|
||||
}
|
||||
}
|
||||
locator<PatcherViewModel>().hideFabButton =
|
||||
selectedPatches.isEmpty ? true : false;
|
||||
locator<PatcherViewModel>().showFabButton =
|
||||
selectedPatches.isNotEmpty ? true : false;
|
||||
locator<PatcherViewModel>().notifyListeners();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user