diff --git a/lib/ui/views/installer/installer_view.dart b/lib/ui/views/installer/installer_view.dart index 22bbdd4b..e806d2e6 100644 --- a/lib/ui/views/installer/installer_view.dart +++ b/lib/ui/views/installer/installer_view.dart @@ -32,19 +32,20 @@ class InstallerView extends StatelessWidget { onBackButtonPressed: () => model.onWillPop(context), actions: [ Visibility( - visible: !model.isPatching && !model.hasErrors, + visible: !model.isPatching, child: CustomPopupMenu( onSelected: (value) => model.onMenuSelection(value), children: { - 0: I18nText( - 'installerView.shareApkMenuOption', - child: const Text( - '', - style: TextStyle( - fontWeight: FontWeight.bold, + if (!model.hasErrors) + 0: I18nText( + 'installerView.shareApkMenuOption', + child: const Text( + '', + style: TextStyle( + fontWeight: FontWeight.bold, + ), ), ), - ), 1: I18nText( 'installerView.shareLogMenuOption', child: const Text(