From 5c5fa0f3101ab46b95c412e224bea88b137e6c9b Mon Sep 17 00:00:00 2001 From: TRBC - The Real Bitcoin Club Date: Tue, 15 Mar 2022 20:12:53 -0400 Subject: [PATCH] managermode on demand --- lib/CoinectorWidgetList.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/CoinectorWidgetList.dart b/lib/CoinectorWidgetList.dart index e23917d1e6..5b3d8b117f 100644 --- a/lib/CoinectorWidgetList.dart +++ b/lib/CoinectorWidgetList.dart @@ -38,7 +38,7 @@ import 'TagCoinector.dart'; import 'UrlLauncher.dart'; import 'pages.dart'; -const bool isAdminMode = true; +const bool isManagerModeRelease = true; class CoinectorWidget extends StatefulWidget { final String search; @@ -1352,8 +1352,9 @@ class _CoinectorWidgetState extends State } void openAddNewPlaceWidget(BuildContext ctx) async { - if (kIsWeb /*!isAdminMode && kReleaseMode*/) { + if (!isManagerModeRelease || kIsWeb) { UrlLauncher.launchSubmitForm(); + //TODO LAUNCH LANGUAGE SPECIFIC GOOGLE FORM, EASY FIRST STEP return; } else await Navigator.push(