Skip to content

Commit d975965

Browse files
authored
Merge pull request #5892 from EdgeApp/jon/infinite-v2
Jon/infinite v2
2 parents 3127634 + 38a2f86 commit d975965

37 files changed

+1652
-1220
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
## 4.42.0 (staging)
99

1010
- added: Zcash buy/sell support with Banxa
11+
- changed: ramps: Infinite buy support according to new API
1112
- changed: Optimize login performance.
1213
- changed: Update Monero LWS server name to "Edge LWS"
14+
- fixed: ramps: Various Infinite UI/UX issues
1315

1416
## 4.41.1 (2025-12-29)
1517

src/__tests__/components/__snapshots__/Row.test.tsx.snap

Lines changed: 130 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -427,19 +427,26 @@ exports[`RowUi4 renders correctly with flex: 1 children 1`] = `
427427
}
428428
>
429429
<Text
430+
adjustsFontSizeToFit={true}
430431
allowFontScaling={false}
431432
selectable={false}
432433
style={
433434
[
434435
{
435436
"color": undefined,
436-
"fontSize": 22,
437-
},
438-
{
439-
"color": "#00f1a2",
440-
"marginLeft": 11,
441-
"textAlign": "center",
437+
"fontSize": 12,
442438
},
439+
[
440+
{
441+
"color": "#FFFFFF",
442+
"fontSize": 22,
443+
},
444+
{
445+
"color": "#00f1a2",
446+
"marginLeft": 11,
447+
"textAlign": "center",
448+
},
449+
],
443450
{
444451
"fontFamily": "FontAwesome",
445452
"fontStyle": "normal",
@@ -561,19 +568,26 @@ exports[`RowUi4 renders correctly with flex: 1 children 1`] = `
561568
}
562569
>
563570
<Text
571+
adjustsFontSizeToFit={true}
564572
allowFontScaling={false}
565573
selectable={false}
566574
style={
567575
[
568576
{
569577
"color": undefined,
570-
"fontSize": 22,
571-
},
572-
{
573-
"color": "#00f1a2",
574-
"marginLeft": 11,
575-
"textAlign": "center",
578+
"fontSize": 12,
576579
},
580+
[
581+
{
582+
"color": "#FFFFFF",
583+
"fontSize": 22,
584+
},
585+
{
586+
"color": "#00f1a2",
587+
"marginLeft": 11,
588+
"textAlign": "center",
589+
},
590+
],
577591
{
578592
"fontFamily": "FontAwesome",
579593
"fontStyle": "normal",
@@ -695,19 +709,26 @@ exports[`RowUi4 renders correctly with flex: 1 children 1`] = `
695709
}
696710
>
697711
<Text
712+
adjustsFontSizeToFit={true}
698713
allowFontScaling={false}
699714
selectable={false}
700715
style={
701716
[
702717
{
703718
"color": undefined,
704-
"fontSize": 22,
705-
},
706-
{
707-
"color": "#00f1a2",
708-
"marginLeft": 11,
709-
"textAlign": "center",
719+
"fontSize": 12,
710720
},
721+
[
722+
{
723+
"color": "#FFFFFF",
724+
"fontSize": 22,
725+
},
726+
{
727+
"color": "#00f1a2",
728+
"marginLeft": 11,
729+
"textAlign": "center",
730+
},
731+
],
711732
{
712733
"fontFamily": "simple-line-icons",
713734
"fontStyle": "normal",
@@ -829,19 +850,26 @@ exports[`RowUi4 renders correctly with flex: 1 children 1`] = `
829850
}
830851
>
831852
<Text
853+
adjustsFontSizeToFit={true}
832854
allowFontScaling={false}
833855
selectable={false}
834856
style={
835857
[
836858
{
837859
"color": undefined,
838-
"fontSize": 22,
839-
},
840-
{
841-
"color": "#00f1a2",
842-
"marginLeft": 11,
843-
"textAlign": "center",
860+
"fontSize": 12,
844861
},
862+
[
863+
{
864+
"color": "#FFFFFF",
865+
"fontSize": 22,
866+
},
867+
{
868+
"color": "#00f1a2",
869+
"marginLeft": 11,
870+
"textAlign": "center",
871+
},
872+
],
845873
{
846874
"fontFamily": "FontAwesome",
847875
"fontStyle": "normal",
@@ -1298,19 +1326,26 @@ exports[`RowUi4 renders correctly with multiple rows in a flex: 1 View 1`] = `
12981326
}
12991327
>
13001328
<Text
1329+
adjustsFontSizeToFit={true}
13011330
allowFontScaling={false}
13021331
selectable={false}
13031332
style={
13041333
[
13051334
{
13061335
"color": undefined,
1307-
"fontSize": 22,
1308-
},
1309-
{
1310-
"color": "#00f1a2",
1311-
"marginLeft": 11,
1312-
"textAlign": "center",
1336+
"fontSize": 12,
13131337
},
1338+
[
1339+
{
1340+
"color": "#FFFFFF",
1341+
"fontSize": 22,
1342+
},
1343+
{
1344+
"color": "#00f1a2",
1345+
"marginLeft": 11,
1346+
"textAlign": "center",
1347+
},
1348+
],
13141349
{
13151350
"fontFamily": "FontAwesome",
13161351
"fontStyle": "normal",
@@ -1448,19 +1483,26 @@ exports[`RowUi4 renders correctly with multiple rows in a flex: 1 View 1`] = `
14481483
}
14491484
>
14501485
<Text
1486+
adjustsFontSizeToFit={true}
14511487
allowFontScaling={false}
14521488
selectable={false}
14531489
style={
14541490
[
14551491
{
14561492
"color": undefined,
1457-
"fontSize": 22,
1458-
},
1459-
{
1460-
"color": "#00f1a2",
1461-
"marginLeft": 11,
1462-
"textAlign": "center",
1493+
"fontSize": 12,
14631494
},
1495+
[
1496+
{
1497+
"color": "#FFFFFF",
1498+
"fontSize": 22,
1499+
},
1500+
{
1501+
"color": "#00f1a2",
1502+
"marginLeft": 11,
1503+
"textAlign": "center",
1504+
},
1505+
],
14641506
{
14651507
"fontFamily": "simple-line-icons",
14661508
"fontStyle": "normal",
@@ -1755,19 +1797,26 @@ exports[`RowUi4 renders correctly with multiple rows in a flex: 1 View 1`] = `
17551797
}
17561798
>
17571799
<Text
1800+
adjustsFontSizeToFit={true}
17581801
allowFontScaling={false}
17591802
selectable={false}
17601803
style={
17611804
[
17621805
{
17631806
"color": undefined,
1764-
"fontSize": 22,
1765-
},
1766-
{
1767-
"color": "#00f1a2",
1768-
"marginLeft": 11,
1769-
"textAlign": "center",
1807+
"fontSize": 12,
17701808
},
1809+
[
1810+
{
1811+
"color": "#FFFFFF",
1812+
"fontSize": 22,
1813+
},
1814+
{
1815+
"color": "#00f1a2",
1816+
"marginLeft": 11,
1817+
"textAlign": "center",
1818+
},
1819+
],
17711820
{
17721821
"fontFamily": "FontAwesome",
17731822
"fontStyle": "normal",
@@ -2279,19 +2328,26 @@ exports[`RowUi4 should render a row with a right button 1`] = `
22792328
}
22802329
>
22812330
<Text
2331+
adjustsFontSizeToFit={true}
22822332
allowFontScaling={false}
22832333
selectable={false}
22842334
style={
22852335
[
22862336
{
22872337
"color": undefined,
2288-
"fontSize": 22,
2289-
},
2290-
{
2291-
"color": "#00f1a2",
2292-
"marginLeft": 11,
2293-
"textAlign": "center",
2338+
"fontSize": 12,
22942339
},
2340+
[
2341+
{
2342+
"color": "#FFFFFF",
2343+
"fontSize": 22,
2344+
},
2345+
{
2346+
"color": "#00f1a2",
2347+
"marginLeft": 11,
2348+
"textAlign": "center",
2349+
},
2350+
],
22952351
{
22962352
"fontFamily": "FontAwesome",
22972353
"fontStyle": "normal",
@@ -2428,19 +2484,26 @@ exports[`RowUi4 should render a row with a right button 1`] = `
24282484
}
24292485
>
24302486
<Text
2487+
adjustsFontSizeToFit={true}
24312488
allowFontScaling={false}
24322489
selectable={false}
24332490
style={
24342491
[
24352492
{
24362493
"color": undefined,
2437-
"fontSize": 22,
2438-
},
2439-
{
2440-
"color": "#00f1a2",
2441-
"marginLeft": 11,
2442-
"textAlign": "center",
2494+
"fontSize": 12,
24432495
},
2496+
[
2497+
{
2498+
"color": "#FFFFFF",
2499+
"fontSize": 22,
2500+
},
2501+
{
2502+
"color": "#00f1a2",
2503+
"marginLeft": 11,
2504+
"textAlign": "center",
2505+
},
2506+
],
24442507
{
24452508
"fontFamily": "simple-line-icons",
24462509
"fontStyle": "normal",
@@ -2733,19 +2796,26 @@ exports[`RowUi4 should render a row with a right button 1`] = `
27332796
}
27342797
>
27352798
<Text
2799+
adjustsFontSizeToFit={true}
27362800
allowFontScaling={false}
27372801
selectable={false}
27382802
style={
27392803
[
27402804
{
27412805
"color": undefined,
2742-
"fontSize": 22,
2743-
},
2744-
{
2745-
"color": "#00f1a2",
2746-
"marginLeft": 11,
2747-
"textAlign": "center",
2806+
"fontSize": 12,
27482807
},
2808+
[
2809+
{
2810+
"color": "#FFFFFF",
2811+
"fontSize": 22,
2812+
},
2813+
{
2814+
"color": "#00f1a2",
2815+
"marginLeft": 11,
2816+
"textAlign": "center",
2817+
},
2818+
],
27492819
{
27502820
"fontFamily": "FontAwesome",
27512821
"fontStyle": "normal",

src/__tests__/modals/__snapshots__/AdvancedDetailsCard.test.tsx.snap

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,19 +175,26 @@ exports[`AdvancedDetailsCard should render with loading props 1`] = `
175175
}
176176
>
177177
<Text
178+
adjustsFontSizeToFit={true}
178179
allowFontScaling={false}
179180
selectable={false}
180181
style={
181182
[
182183
{
183184
"color": undefined,
184-
"fontSize": 22,
185-
},
186-
{
187-
"color": "#00f1a2",
188-
"marginLeft": 11,
189-
"textAlign": "center",
185+
"fontSize": 12,
190186
},
187+
[
188+
{
189+
"color": "#FFFFFF",
190+
"fontSize": 22,
191+
},
192+
{
193+
"color": "#00f1a2",
194+
"marginLeft": 11,
195+
"textAlign": "center",
196+
},
197+
],
191198
{
192199
"fontFamily": "FontAwesome",
193200
"fontStyle": "normal",

0 commit comments

Comments
 (0)