opt.: check client before route pushed

This commit is contained in:
lollipopkit
2023-08-10 00:37:51 +08:00
parent c512a6a274
commit cf1c9643b9
8 changed files with 68 additions and 43 deletions

View File

@@ -133,7 +133,7 @@ class _PkgManagePageState extends State<PkgManagePage>
}
Widget _buildFAB(PkgProvider pkg) {
if (pkg.isBusy || (pkg.upgradeable?.isEmpty ?? true)) {
if (pkg.upgradeable?.isEmpty ?? true) {
return nil;
}
return FloatingActionButton(