From d14f525fb983ae3e8a4bb458deadf38bd35489fc Mon Sep 17 00:00:00 2001 From: Kima Date: Tue, 26 Dec 2023 00:07:42 +0100 Subject: [PATCH] temp removed app icon change button --- lib/ui/mobile/settings/app_icon_screen.dart | 32 ++++++++++++--------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/lib/ui/mobile/settings/app_icon_screen.dart b/lib/ui/mobile/settings/app_icon_screen.dart index fbd45c3..445b44d 100644 --- a/lib/ui/mobile/settings/app_icon_screen.dart +++ b/lib/ui/mobile/settings/app_icon_screen.dart @@ -20,21 +20,25 @@ class PremiumCustomAppIconMenu extends StatelessWidget { @override Widget build(BuildContext context) { - return PanelButton( - onPressed: () { - if (!Provider.of(context, listen: false) - .hasScope(PremiumScopes.changeAppIcon)) { - PremiumLockedFeatureUpsell.show( - context: context, feature: PremiumFeature.appiconchange); - return; - } + // return PanelButton( + // onPressed: () { + // if (!Provider.of(context, listen: false) + // .hasScope(PremiumScopes.changeAppIcon)) { + // PremiumLockedFeatureUpsell.show( + // context: context, feature: PremiumFeature.appiconchange); + // return; + // } - Navigator.of(context, rootNavigator: true).push( - CupertinoPageRoute(builder: (context) => const ModifyAppIcon()), - ); - }, - title: Text('custom_app_icon'.i18n), - leading: const Icon(FeatherIcons.edit), + // Navigator.of(context, rootNavigator: true).push( + // CupertinoPageRoute(builder: (context) => const ModifyAppIcon()), + // ); + // }, + // title: Text('custom_app_icon'.i18n), + // leading: const Icon(FeatherIcons.edit), + // ); + return SizedBox( + width: 0, + height: 0, ); } }