Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(mobile): display build number #216

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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