Skip to content

Commit

Permalink
fix: hide install button on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ushie committed Aug 28, 2023
1 parent 166a318 commit 42e41c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/views/installer/installer_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 42e41c3

Please sign in to comment.