Skip to content
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased (develop)

- changed: Shrink-to-fit text that sets no minimum scale, such as the fallback symbols in fiat and crypto icons, now stops shrinking at 65% of its size, matching edge-login-ui-rn
- added: Swap success events name the swap mode, including Swap & Send from the send scene
- fixed: Android crash when opening DFX and other web pages on some Android 12+ phones, where the blurred header and tab bar redrew the page
- fixed: DFX shows an error instead of opening when it blocks the country of the user's internet connection, for Bitcoin and EVM wallets, which Edge logs in to DFX
Expand Down
38 changes: 38 additions & 0 deletions src/__tests__/components/__snapshots__/BalanceCard.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ exports[`BalanceCard should render with loading props 1`] = `
/>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
onLayout={[Function]}
style={
[
Expand Down Expand Up @@ -191,6 +192,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand All @@ -215,6 +217,7 @@ exports[`BalanceCard should render with loading props 1`] = `
</Text>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -287,6 +290,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -321,6 +325,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -355,6 +360,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -389,6 +395,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -423,6 +430,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -457,6 +465,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -491,6 +500,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -525,6 +535,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -559,6 +570,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -593,6 +605,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -620,6 +633,7 @@ exports[`BalanceCard should render with loading props 1`] = `
</View>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -692,6 +706,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -726,6 +741,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -760,6 +776,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -794,6 +811,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -828,6 +846,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -862,6 +881,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -896,6 +916,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -930,6 +951,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -964,6 +986,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -998,6 +1021,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -1073,6 +1097,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -1107,6 +1132,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -1141,6 +1167,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -1175,6 +1202,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -1209,6 +1237,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -1243,6 +1272,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -1277,6 +1307,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -1311,6 +1342,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -1345,6 +1377,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -1379,6 +1412,7 @@ exports[`BalanceCard should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down Expand Up @@ -1406,6 +1440,7 @@ exports[`BalanceCard should render with loading props 1`] = `
</View>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand All @@ -1430,6 +1465,7 @@ exports[`BalanceCard should render with loading props 1`] = `
</Text>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand All @@ -1454,6 +1490,7 @@ exports[`BalanceCard should render with loading props 1`] = `
</Text>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand All @@ -1478,6 +1515,7 @@ exports[`BalanceCard should render with loading props 1`] = `
</Text>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ exports[`FilledTextInput should render with some props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
mode="danger"
style={
{
Expand All @@ -575,6 +576,7 @@ exports[`FilledTextInput should render with some props 1`] = `
</Text>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
{
"color": "#3dd9f4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ exports[`LargeUtxoWalletCard should render 1`] = `
allowFontScaling={false}
ellipsizeMode="tail"
minimumFontScale={0.65}
minimumFontSize={11.05}
numberOfLines={1}
style={
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,6 @@ exports[`AccelerateTxModalComponent should render with loading props 1`] = `
adjustsFontSizeToFit={false}
allowFontScaling={false}
minimumFontScale={0.65}
minimumFontSize={11.05}
numberOfLines={1}
style={
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ exports[`AirshipFullScreenSpinner should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
{
"color": "#25292C",
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/modals/__snapshots__/DateModal.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ exports[`DateModalIos should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
{
"color": "#0073D9",
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/modals/__snapshots__/HelpModal.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ exports[`HelpModal should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/modals/__snapshots__/LogsModal.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,7 @@ exports[`LogsModal should render with a logs modal 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
{
"color": "#3dd9f4",
Expand All @@ -999,6 +1000,7 @@ exports[`LogsModal should render with a logs modal 1`] = `
/>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
{
"color": "#3dd9f4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ exports[`WalletListModal should render with loading props 1`] = `
>
<Text
allowFontScaling={false}
minimumFontScale={0.65}
style={
[
{
Expand Down
Loading
Loading