File tree Expand file tree Collapse file tree 4 files changed +2
-24
lines changed
source/views/settings/sections Expand file tree Collapse file tree 4 files changed +2
-24
lines changed Original file line number Diff line number Diff line change 3131 # set the app version
3232 set_version
3333
34- # set where this build came from
35- set_package_data ( data : {
36- allaboutolaf : {
37- source : 'beta' ,
38- } ,
39- } )
40-
4134 # and run
4235 should_deploy = ENV [ 'run_deploy' ] == '1'
4336 if should_deploy
Original file line number Diff line number Diff line change 4444 # set the app version
4545 set_version
4646
47- # set where this build came from
48- set_package_data ( data : {
49- allaboutolaf : {
50- source : 'beta' ,
51- } ,
52- } )
53-
5447 # and run
5548 should_deploy = ENV [ 'run_deploy' ] == '1'
5649 if should_deploy
Original file line number Diff line number Diff line change 22 "name" : " all-about-olaf" ,
33 "version" : " 2.3.0-beta.7" ,
44 "private" : true ,
5- "allaboutolaf" : {
6- "source" : " "
7- },
85 "config" : {
96 "prettier_args" : " --single-quote --trailing-comma all --no-bracket-spacing --no-semi"
107 },
Original file line number Diff line number Diff line change 22import React from 'react'
33import { View } from 'react-native'
44import { Cell , Section } from 'react-native-tableview-simple'
5- import { version , allaboutolaf } from '../../../../package.json'
5+ import { version } from '../../../../package.json'
66import type { TopLevelViewPropsType } from '../../types'
77import { setFeedbackStatus } from '../../../flux/parts/settings'
88import { connect } from 'react-redux'
@@ -35,11 +35,6 @@ class OddsAndEndsSection extends React.Component {
3535 } )
3636
3737 render ( ) {
38- // allows us to show [dev], [beta], or nothing for release builds
39- const versionMoniker = process . env . NODE_ENV === 'development'
40- ? '[dev] '
41- : allaboutolaf . source ? `[${ allaboutolaf . source } ] ` : ''
42-
4338 return (
4439 < View >
4540 < Section header = "MISCELLANY" >
@@ -56,7 +51,7 @@ class OddsAndEndsSection extends React.Component {
5651 < Cell
5752 cellStyle = "RightDetail"
5853 title = "Version"
59- detail = { ` ${ versionMoniker } ${ version } ` }
54+ detail = { version }
6055 />
6156
6257 < CellToggle
You can’t perform that action at this time.
0 commit comments