-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: handle large fonts with twelve word seed phrases #5187
Conversation
1 build had no size change
Celo (test) 1.81.0 (146)
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5187 +/- ##
==========================================
+ Coverage 85.76% 85.77% +0.01%
==========================================
Files 744 744
Lines 30324 30343 +19
Branches 5237 5238 +1
==========================================
+ Hits 26007 26028 +21
+ Misses 4078 4076 -2
Partials 239 239
... and 8 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
### Description Currently large fonts can display the 12 word seed phrase with letters rendered off screen or covered index numbers. This PR fixes that by using the fontScale to display as either four rows with three columns or six rows with two columns. ### Screenshots | iOS Large Font (Before) | iOS Large Font (After) | iOS Default Font (Before) | iOS Default Font (After) | | ----- | ----- | ----- | ----- | | ![](https://github.com/valora-inc/wallet/assets/26950305/ca0a363b-404c-4051-8644-efe422a4a8e7) | ![](https://github.com/valora-inc/wallet/assets/26950305/828ee414-8408-4b8c-9685-b853ef8812eb) | ![](https://github.com/valora-inc/wallet/assets/26950305/60fe83d7-fd40-4e93-8c7f-676e733515bc) | ![](https://github.com/valora-inc/wallet/assets/26950305/9e822939-3884-4d41-8c36-bd44a1a57cfc) | | Android Large Font (Before) | Android Large Font (After) | Android Default Font (Before) | Android Default Font (After) | | ----- | ----- | ----- | ----- | | ![](https://github.com/valora-inc/wallet/assets/26950305/ae204b44-1026-419b-a3c1-42a9e63d7c2e) | ![](https://github.com/valora-inc/wallet/assets/26950305/fb1aadf9-55af-4e20-888e-93c87b4047b2) | ![](https://github.com/valora-inc/wallet/assets/26950305/8eaa9eb9-3520-48b5-8596-a050c546e67d) | ![](https://github.com/valora-inc/wallet/assets/26950305/8da1b5ed-38e6-4adf-b6f5-2daf7857ba15) | ### Test plan - Tested locally on iOS - Tested locally on Android ### Related issues - Fixes ACT-1073 ### Backwards compatibility Yes ### Network scalability N/A
Description
Currently large fonts can display the 12 word seed phrase with letters rendered off screen or covered index numbers. This PR fixes that by using the fontScale to display as either four rows with three columns or six rows with two columns.
Screenshots
Test plan
Related issues
Backwards compatibility
Yes
Network scalability
N/A