-
Notifications
You must be signed in to change notification settings - Fork 375
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
[Wallet] Fix ListView deprecation warning #1293
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Codecov Report
@@ Coverage Diff @@
## master #1293 +/- ##
=======================================
Coverage 66.41% 66.41%
=======================================
Files 264 264
Lines 7745 7745
Branches 513 444 -69
=======================================
Hits 5144 5144
- Misses 2500 2502 +2
+ Partials 101 99 -2
Continue to review full report at Codecov.
|
* master: Integration deploy, don't overwrite genesis block if upgrading testnet (#1315) Fix broken Discord link (#1317) [Wallet] Add check for $ENVFILE to pre-dev script (#1324) Add GRADLE_OPTS note to SETUP.md (#1311) Allow validators to specify an attestationKey with which they sign attestations (#1313) Add step to install typescript and other minor edits (#1256) [Wallet] Add script to build sdk for env before running yarn dev (#1312) [Wallet] Fix ListView deprecation warning (#1293) Set IN_MEMORY_DISCOVERY_TABLE=true for integration (#1296) Add ability to generate addresses directly from env file in celotool (#1294)
* master: Integration deploy, don't overwrite genesis block if upgrading testnet (#1315) Fix broken Discord link (#1317) [Wallet] Add check for $ENVFILE to pre-dev script (#1324) Add GRADLE_OPTS note to SETUP.md (#1311) Allow validators to specify an attestationKey with which they sign attestations (#1313) Add step to install typescript and other minor edits (#1256) [Wallet] Add script to build sdk for env before running yarn dev (#1312) [Wallet] Fix ListView deprecation warning (#1293) Set IN_MEMORY_DISCOVERY_TABLE=true for integration (#1296) Add ability to generate addresses directly from env file in celotool (#1294)
Description
This PR fixes a new warning that shows up on the
JoinCello
screen following the changes made for iOS (#1225).It’s caused by
react-native-autocomplete-input
which uses aListView
.I think it was thrown too early previously to be shown and now that the screen is wrapped in
SafeAreaView
, the timing is different and triggers it.I've upgraded to the latest stable version of
react-native-autocomplete-input
which now uses aFlatList
.Tested
Updated tests. Ran the app -> no warnings displayed on the
JoinCello
screen.Other changes
react-native-autocomplete-input
to@celo/react-components
since it's used only theredeclare module 'react-native-autocomplete-input'
@celo/react-components
fromdevDependencies
todependencies
for the mobile projectRelated issues
Backwards compatibility
Yes.