Skip to content

Commit 322f38a

Browse files
authored
update menus view to use isDevMode
1 parent 8e79cf0 commit 322f38a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/views/menus/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import * as React from 'react'
44
import {TabNavigator, TabBarIcon} from '@frogpond/navigation-tabs'
5-
import {IS_PRODUCTION} from '@frogpond/constants'
5+
import {isDevMode} from '@frogpond/constants'
66

77
import {BonAppHostedMenu} from './menu-bonapp'
88
import {GitHubHostedMenu} from './menu-github'
@@ -89,7 +89,7 @@ export const MenusView = TabNavigator({
8989
},
9090
},
9191

92-
...(!IS_PRODUCTION ? {BonAppDevToolView: {screen: BonAppPickerView}} : {}),
92+
...(isDevMode() ? {BonAppDevToolView: {screen: BonAppPickerView}} : {}),
9393
})
9494
MenusView.navigationOptions = {
9595
title: 'Menus',

0 commit comments

Comments
 (0)