Skip to content

Commit

Permalink
show donate option in beta, dev and android builds
Browse files Browse the repository at this point in the history
  • Loading branch information
KKA11010 committed Feb 29, 2024
1 parent 260d06a commit 0b5be85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/screens/Settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { AboutIcon, HeartIcon, MintBoardIcon, OptionsIcon } from '@comps/Icons'
import { ZapModal } from '@comps/modal/Zap'
import Screen from '@comps/Screen'
import Txt from '@comps/Txt'
import { appVersion, isIOS } from '@consts/env'
import { appVersion, env, isIOS } from '@consts/env'
import { BottomModal } from '@modal/Question'
import type { TSettingsPageProps } from '@model/nav'
import BottomNav from '@nav/BottomNav'
Expand Down Expand Up @@ -59,7 +59,7 @@ export default function Settings({ navigation, route }: TSettingsPageProps) {
onPress={() => navigation.navigate('About settings')}
hasSeparator={__DEV__}
/>
{!isIOS &&
{(__DEV__ || env.isExpoBeta || !isIOS) &&
<MenuItem
txt={t('donateLn')}
icon={<HeartIcon color={color.TEXT} />}
Expand Down
2 changes: 1 addition & 1 deletion utils/update-translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const loadJSON = (filename) => {
}

// paste unused keys from the jest test output here
const unusedKeys = ['newRelease', 'releaseNotes', 'publishedOn', 'openOnTestflight', 'downloadApk', 'showOnGithub', 'hideReleaseNotes', 'noReleaseData']
const unusedKeys = []

const updateTranslationFiles = (unusedKeys) => {
const translationDir = path.resolve(__dirname, tlPath)
Expand Down

0 comments on commit 0b5be85

Please sign in to comment.