File tree Expand file tree Collapse file tree 6 files changed +45
-4
lines changed Expand file tree Collapse file tree 6 files changed +45
-4
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {
13
13
Modal ,
14
14
} from "@ui-kitten/components" ;
15
15
import { StyleSheet , View } from "react-native" ;
16
+ import { Image } from "expo-image" ;
16
17
import { setStringAsync } from "expo-clipboard" ;
17
18
import Animated , {
18
19
useAnimatedScrollHandler ,
@@ -267,6 +268,11 @@ export default function Balances() {
267
268
verified = {
268
269
getIronAsset . data ?. verification . status === "verified"
269
270
}
271
+ image = {
272
+ getIronAsset . data ?. verification . status === "verified"
273
+ ? getIronAsset . data . verification . logoURI
274
+ : undefined
275
+ }
270
276
/>
271
277
272
278
{ /* Custom Assets */ }
@@ -289,6 +295,11 @@ export default function Balances() {
289
295
: undefined ,
290
296
) }
291
297
verified = { asset ?. verification . status === "verified" }
298
+ image = {
299
+ asset ?. verification . status === "verified"
300
+ ? asset . verification . logoURI
301
+ : undefined
302
+ }
292
303
/>
293
304
) ;
294
305
} ) }
@@ -330,14 +341,19 @@ function AssetRow({
330
341
name,
331
342
amount,
332
343
verified,
344
+ image,
333
345
} : {
334
346
name : string ;
335
347
amount : string ;
336
348
verified : boolean ;
349
+ image ?: string ;
337
350
} ) {
338
351
return (
339
352
< Card style = { styles . assetCard } >
340
353
< Layout style = { styles . assetCardContent } >
354
+ < Layout style = { styles . assetBadge } >
355
+ < Image source = { image } style = { styles . assetBadge } />
356
+ </ Layout >
341
357
< Layout style = { styles . assetBadge } />
342
358
< Layout style = { styles . assetInfo } >
343
359
< Text category = "s1" >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export default function OnboardingLayout() {
4
4
return (
5
5
< Stack
6
6
screenOptions = { {
7
- headerBackVisible : false ,
7
+ headerBackTitle : "Back" ,
8
8
} }
9
9
>
10
10
< Stack . Screen
@@ -37,6 +37,12 @@ export default function OnboardingLayout() {
37
37
title : "Import File" ,
38
38
} }
39
39
/>
40
+ < Stack . Screen
41
+ name = "import-mnemonic"
42
+ options = { {
43
+ title : "Import Mnemonic" ,
44
+ } }
45
+ />
40
46
</ Stack >
41
47
) ;
42
48
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export interface SerializedVerifiedAssetMetadata {
17
17
updated_at : string ;
18
18
symbol : string ;
19
19
decimals ?: number ;
20
- logo_uri ?: string ;
20
+ logoURI ?: string ;
21
21
website ?: string ;
22
22
}
23
23
Original file line number Diff line number Diff line change @@ -1730,7 +1730,7 @@ export class WalletDb {
1730
1730
updatedAt : new Date ( ) ,
1731
1731
verified : ! ! serializedAsset . verified_metadata ,
1732
1732
decimals : serializedAsset . verified_metadata ?. decimals ?? null ,
1733
- logoURI : serializedAsset . verified_metadata ?. logo_uri ?? null ,
1733
+ logoURI : serializedAsset . verified_metadata ?. logoURI ?? null ,
1734
1734
supply : serializedAsset . supply ?? null ,
1735
1735
symbol : serializedAsset . verified_metadata ?. symbol ?? null ,
1736
1736
website : serializedAsset . verified_metadata ?. website ?? null ,
@@ -1749,7 +1749,7 @@ export class WalletDb {
1749
1749
updatedAt : new Date ( ) ,
1750
1750
verified : ! ! serializedAsset . verified_metadata ,
1751
1751
decimals : serializedAsset . verified_metadata ?. decimals ?? null ,
1752
- logoURI : serializedAsset . verified_metadata ?. logo_uri ?? null ,
1752
+ logoURI : serializedAsset . verified_metadata ?. logoURI ?? null ,
1753
1753
supply : serializedAsset . supply ?? null ,
1754
1754
symbol : serializedAsset . verified_metadata ?. symbol ?? null ,
1755
1755
website : serializedAsset . verified_metadata ?. website ?? null ,
Original file line number Diff line number Diff line change 26
26
"expo-crypto" : " ~14.0.2" ,
27
27
"expo-document-picker" : " ~13.0.3" ,
28
28
"expo-font" : " ~13.0.3" ,
29
+ "expo-image" : " ~2.0.5" ,
29
30
"expo-linear-gradient" : " ~14.0.2" ,
30
31
"expo-linking" : " ~7.0.4" ,
31
32
"expo-router" : " ~4.0.17" ,
You can’t perform that action at this time.
0 commit comments