Skip to content

Commit

Permalink
feat(mobile): display build number (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkdev98 authored Aug 7, 2024
1 parent 803ed5b commit 501cd56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion apps/mobile/app/(app)/(tabs)/settings.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as Application from 'expo-application'
import Constants from 'expo-constants'

import { Logo } from '@/components/common/logo'
import { MenuItem } from '@/components/common/menu-item'
Expand Down Expand Up @@ -204,7 +205,10 @@ export default function SettingsScreen() {
<Logo className="mx-auto h-16 w-16" />
<Text className="font-mono text-muted-foreground text-sm">
{t(i18n)`ver.`}
{Application.nativeApplicationVersion}
{Application.nativeApplicationVersion}{' '}
{Constants.expoConfig?.ios?.buildNumber
? `(${Constants.expoConfig.ios.buildNumber})`
: ''}
</Text>
<View className="flex-row gap-6">
<Link href="/terms-of-service">
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/components/home/select-wallet-account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function SelectWalletAccount({
disabled={disabled}
hideArrow
hitSlop={{ top: 10, bottom: 10, left: 10, right: 10 }}
className="!border-none !border-transparent !py-0 !h-6 flex-row items-center gap-2 px-0"
className="!border-none !border-transparent !py-0 !h-6 flex-row items-center gap-2 self-start px-0"
>
<SelectValue
className="font-medium font-sans text-primary"
Expand Down

0 comments on commit 501cd56

Please sign in to comment.