Skip to content

Commit 602a892

Browse files
committed
Fix conflict
2 parents 364250d + 3518c11 commit 602a892

File tree

6 files changed

+45
-4
lines changed

6 files changed

+45
-4
lines changed

package-lock.json

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/mobile-app/app/(drawer)/account/index.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
Modal,
1414
} from "@ui-kitten/components";
1515
import { StyleSheet, View } from "react-native";
16+
import { Image } from "expo-image";
1617
import { setStringAsync } from "expo-clipboard";
1718
import Animated, {
1819
useAnimatedScrollHandler,
@@ -267,6 +268,11 @@ export default function Balances() {
267268
verified={
268269
getIronAsset.data?.verification.status === "verified"
269270
}
271+
image={
272+
getIronAsset.data?.verification.status === "verified"
273+
? getIronAsset.data.verification.logoURI
274+
: undefined
275+
}
270276
/>
271277

272278
{/* Custom Assets */}
@@ -289,6 +295,11 @@ export default function Balances() {
289295
: undefined,
290296
)}
291297
verified={asset?.verification.status === "verified"}
298+
image={
299+
asset?.verification.status === "verified"
300+
? asset.verification.logoURI
301+
: undefined
302+
}
292303
/>
293304
);
294305
})}
@@ -330,14 +341,19 @@ function AssetRow({
330341
name,
331342
amount,
332343
verified,
344+
image,
333345
}: {
334346
name: string;
335347
amount: string;
336348
verified: boolean;
349+
image?: string;
337350
}) {
338351
return (
339352
<Card style={styles.assetCard}>
340353
<Layout style={styles.assetCardContent}>
354+
<Layout style={styles.assetBadge}>
355+
<Image source={image} style={styles.assetBadge} />
356+
</Layout>
341357
<Layout style={styles.assetBadge} />
342358
<Layout style={styles.assetInfo}>
343359
<Text category="s1">

packages/mobile-app/app/onboarding/_layout.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default function OnboardingLayout() {
44
return (
55
<Stack
66
screenOptions={{
7-
headerBackVisible: false,
7+
headerBackTitle: "Back",
88
}}
99
>
1010
<Stack.Screen
@@ -37,6 +37,12 @@ export default function OnboardingLayout() {
3737
title: "Import File",
3838
}}
3939
/>
40+
<Stack.Screen
41+
name="import-mnemonic"
42+
options={{
43+
title: "Import Mnemonic",
44+
}}
45+
/>
4046
</Stack>
4147
);
4248
}

packages/mobile-app/data/api/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface SerializedVerifiedAssetMetadata {
1717
updated_at: string;
1818
symbol: string;
1919
decimals?: number;
20-
logo_uri?: string;
20+
logoURI?: string;
2121
website?: string;
2222
}
2323

packages/mobile-app/data/wallet/db.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,7 +1730,7 @@ export class WalletDb {
17301730
updatedAt: new Date(),
17311731
verified: !!serializedAsset.verified_metadata,
17321732
decimals: serializedAsset.verified_metadata?.decimals ?? null,
1733-
logoURI: serializedAsset.verified_metadata?.logo_uri ?? null,
1733+
logoURI: serializedAsset.verified_metadata?.logoURI ?? null,
17341734
supply: serializedAsset.supply ?? null,
17351735
symbol: serializedAsset.verified_metadata?.symbol ?? null,
17361736
website: serializedAsset.verified_metadata?.website ?? null,
@@ -1749,7 +1749,7 @@ export class WalletDb {
17491749
updatedAt: new Date(),
17501750
verified: !!serializedAsset.verified_metadata,
17511751
decimals: serializedAsset.verified_metadata?.decimals ?? null,
1752-
logoURI: serializedAsset.verified_metadata?.logo_uri ?? null,
1752+
logoURI: serializedAsset.verified_metadata?.logoURI ?? null,
17531753
supply: serializedAsset.supply ?? null,
17541754
symbol: serializedAsset.verified_metadata?.symbol ?? null,
17551755
website: serializedAsset.verified_metadata?.website ?? null,

packages/mobile-app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"expo-crypto": "~14.0.2",
2727
"expo-document-picker": "~13.0.3",
2828
"expo-font": "~13.0.3",
29+
"expo-image": "~2.0.5",
2930
"expo-linear-gradient": "~14.0.2",
3031
"expo-linking": "~7.0.4",
3132
"expo-router": "~4.0.17",

0 commit comments

Comments
 (0)