Skip to content

Commit

Permalink
managermode on demand
Browse files Browse the repository at this point in the history
  • Loading branch information
theRealBitcoinClub committed Mar 16, 2022
1 parent e6d231a commit 5c5fa0f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/CoinectorWidgetList.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -1352,8 +1352,9 @@ class _CoinectorWidgetState extends State<CoinectorWidget>
}

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(
Expand Down

0 comments on commit 5c5fa0f

Please sign in to comment.