opt.: check client before route pushed
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user