Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Hide the Install button during installation #1633

Merged
merged 10 commits into from
Feb 25, 2024
4 changes: 2 additions & 2 deletions lib/ui/views/installer/installer_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class InstallerView extends StatelessWidget {
floatingActionButton: Visibility(
visible: !model.isPatching && !model.hasErrors,
child: model.isInstalled
? FloatingActionButton.extended(
? HapticFloatingActionButtonExtended(
validcube marked this conversation as resolved.
Show resolved Hide resolved
label: I18nText('installerView.openButton'),
icon: const Icon(Icons.open_in_new),
onPressed: () {
Expand All @@ -35,7 +35,7 @@ class InstallerView extends StatelessWidget {
},
elevation: 0,
)
: FloatingActionButton.extended(
: HapticFloatingActionButtonExtended(
label: I18nText('installerView.installButton'),
icon: const Icon(Icons.file_download_outlined),
onPressed: model.isInstalling
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.