fix: hide install button on error

This commit is contained in:
Ushie 2023-08-28 19:05:30 +03:00
parent 166a3180d3
commit 42e41c399f
No known key found for this signature in database
GPG Key ID: B3AAD18842E34632

View File

@ -21,7 +21,7 @@ class InstallerView extends StatelessWidget {
bottom: false,
child: Scaffold(
floatingActionButton: Visibility(
visible: !model.isPatching,
visible: !model.isPatching && !model.hasErrors,
child: FloatingActionButton.extended(
label: I18nText('installerView.installButton'),
icon: const Icon(Icons.file_download_outlined),