We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e79cf0 commit 322f38aCopy full SHA for 322f38a
source/views/menus/index.js
@@ -2,7 +2,7 @@
2
3
import * as React from 'react'
4
import {TabNavigator, TabBarIcon} from '@frogpond/navigation-tabs'
5
-import {IS_PRODUCTION} from '@frogpond/constants'
+import {isDevMode} from '@frogpond/constants'
6
7
import {BonAppHostedMenu} from './menu-bonapp'
8
import {GitHubHostedMenu} from './menu-github'
@@ -89,7 +89,7 @@ export const MenusView = TabNavigator({
89
},
90
91
92
- ...(!IS_PRODUCTION ? {BonAppDevToolView: {screen: BonAppPickerView}} : {}),
+ ...(isDevMode() ? {BonAppDevToolView: {screen: BonAppPickerView}} : {}),
93
})
94
MenusView.navigationOptions = {
95
title: 'Menus',
0 commit comments