diff --git a/lib/ui/app/menu_drawer.dart b/lib/ui/app/menu_drawer.dart index 3dd1253c2..6b2ea9db6 100644 --- a/lib/ui/app/menu_drawer.dart +++ b/lib/ui/app/menu_drawer.dart @@ -1425,7 +1425,12 @@ void _showAbout(BuildContext context) async { .replaceFirst(':value', state.appVersion)); }, onLongPress: () async { - if (kReleaseMode) { + if (!kReleaseMode && supportsInAppPurchase()) { + showDialog( + context: context, + builder: (context) => UpgradeDialog(), + ); + } else { showMessageDialog( message: FLUTTER_VERSION['channel']!.toUpperCase() + ' • ' + @@ -1436,11 +1441,6 @@ void _showAbout(BuildContext context) async { onPressed: () => store.dispatch(UserLogout()), ), ]); - } else { - showDialog( - context: context, - builder: (context) => UpgradeDialog(), - ); } }, ),