File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
source/views/settings/sections Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import React from 'react'
33import { View } from 'react-native'
44import { getVersion } from 'react-native-device-info'
55import { Cell , Section } from 'react-native-tableview-simple'
6- import { version , allaboutolaf } from '../../../../package.json'
6+ import { version } from '../../../../package.json'
77import type { TopLevelViewPropsType } from '../../types'
88import { setFeedbackStatus } from '../../../flux/parts/settings'
99import { connect } from 'react-redux'
@@ -36,11 +36,6 @@ class OddsAndEndsSection extends React.Component {
3636 } )
3737
3838 render ( ) {
39- // allows us to show [dev], [beta], or nothing for release builds
40- const versionMoniker = process . env . NODE_ENV === 'development'
41- ? '[dev] '
42- : allaboutolaf . source ? `[${ allaboutolaf . source } ] ` : ''
43-
4439 // native (codepush)
4540 // eg, 2.1.2 (2.1.2+2957)
4641 const versionString = getVersion ( ) === version
@@ -63,7 +58,7 @@ class OddsAndEndsSection extends React.Component {
6358 < Cell
6459 cellStyle = "RightDetail"
6560 title = "Version"
66- detail = { ` ${ versionMoniker } ${ versionString } ` }
61+ detail = { versionString }
6762 />
6863
6964 < CellToggle
You can’t perform that action at this time.
0 commit comments