Skip to content
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 splash screen green gap #3105

Merged
merged 2 commits into from
Mar 13, 2020
Merged

Conversation

jeanregisser
Copy link
Contributor

@jeanregisser jeanregisser commented Mar 13, 2020

Description

Fixed splash screen green gap (without Celo logo) by hiding it only after navigating away from the initial placeholder loading screen (AppLoading).

Tested

Tested on both iOS and Android.

before

after

Other changes

N/A

Related issues

Backwards compatibility

Yes.

@jeanregisser jeanregisser requested a review from a team March 13, 2020 17:06
render() {
return (
// @ts-ignore Apollo doesn't like the typings
<ApolloProvider client={apolloClient}>
<Provider store={store}>
<SafeAreaProvider>
<PersistGate
onBeforeLift={this.hideSplashScreen}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you test this an android too. I vaguely remember needing to add this onBeforeLift for android

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes works for Android too, I should have mentioned it ;)

@codecov
Copy link

codecov bot commented Mar 13, 2020

Codecov Report

Merging #3105 into master will increase coverage by 0.05%.
The diff coverage is 86.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3105      +/-   ##
==========================================
+ Coverage   74.79%   74.85%   +0.05%     
==========================================
  Files         591      591              
  Lines       14794    14797       +3     
  Branches     1859     1790      -69     
==========================================
+ Hits        11065    11076      +11     
+ Misses       3403     3397       -6     
+ Partials      326      324       -2
Flag Coverage Δ
#mobile 74.24% <86.66%> (+0.1%) ⬆️
#web 75.66% <ø> (ø) ⬆️
Impacted Files Coverage Δ
packages/mobile/src/app/App.tsx 83.33% <ø> (-0.88%) ⬇️
packages/mobile/src/app/saga.ts 50.9% <ø> (ø) ⬆️
packages/mobile/src/navigator/NavigatorWrapper.tsx 52.94% <100%> (-1.35%) ⬇️
packages/mobile/src/navigator/Screens.tsx 100% <100%> (ø) ⬆️
packages/mobile/src/navigator/NavigationService.ts 48.93% <83.33%> (+25.12%) ⬆️
packages/web/src/utils/utils.ts 79.24% <0%> (ø) ⬆️
packages/web/src/utils/abortableFetch.ts 71.42% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f8279f3...00a5585. Read the comment docs.

@jeanregisser jeanregisser added the automerge Have PR merge automatically when checks pass label Mar 13, 2020
@celo-ci-bot-user celo-ci-bot-user merged commit eba4626 into master Mar 13, 2020
@celo-ci-bot-user celo-ci-bot-user deleted the jeanregisser/fix-splash branch March 13, 2020 20:18
lucasege pushed a commit that referenced this pull request Mar 16, 2020
lucasege pushed a commit that referenced this pull request Mar 19, 2020
* Start of releasegold cli

* Info cli command

* Wip adding many more fns

* Set max distribution fn

* Unifying style and adding set-beneficiary

* Addign withdraw and addressing various bugs introduced in cli deps

* Adding more commands - gold, revoke, and refund

* Adding final commands, still need to verify authorize and address todos. Also adding start_gold to script

* Fxing ts weird bug

* fixing type bug

* Lint

* Switching src to lib

* Fixing cli bugs

* Docs

* Contractkit docs

* WIP

* Adding test framework for releasegold cli commands

* Fixing flaky tests

* Adding transfer

* Fixing tests

* Fixing jest timeout

* lint

* Lint and comments

* wip

* Small adjustments to migrations config (#2972)

* Small adjustments to migrations config

* More adjustments

* updated based on comments

* Fixed migration and testing around frozenGold and initialBalance, added addresses for governance approver, reserve spender, and whitelisted for transfers, changed frozenDays value to be in days rather than seconds

* remove frozenGold since it requires reserve to have a balance greater than it, will require a governance proposal to initialize after the transfer of gold to reserve

* bumped double signing slashing penalty to 9k

* updates based on feedback

* add more gas for e2e transfer tests that delete whitelist array

* few more tweeks to migration config

* fixed variable name MINUTE in config

Co-authored-by: Amy Slawson <[email protected]>
Co-authored-by: Amy Slawson <[email protected]>

* [Wallet] Fix splash screen green gap (#3105)

* Fix web build by changing literal to string (#3109)

* Experience Brand kit updates (#3090)

* Reducing boilerplate finished and adding better checks

* Reverting cleanup

* WIP on review

* WIP review

* Updating scripts to add functionality

* Updating script

* Addressign review, still flaky tests

* Lint

* Flaky

* [Wallet] iOS multi env support + fastlane deployments (#3140)

* Support multiple env file in Xcode

Idea is one env file per scheme
Addresses #1156

* Fix run_app script choking with env vars containing spaces

* Add fastlane lanes for iOS alfajores and pilot

* Fix incorrect link

* Remove unused tvOS scheme

* Fix e2e test

* Rename generated config tmp.xcconfig -> env.xcconfig

* Fix missing google service plist for CI build

* Adding one more improvement

* Removing unnecessary changes

* lint

Co-authored-by: Asa Oines <[email protected]>
Co-authored-by: Amy Slawson <[email protected]>
Co-authored-by: Amy Slawson <[email protected]>
Co-authored-by: Jean Regisser <[email protected]>
Co-authored-by: Connor McEwen <[email protected]>
Co-authored-by: Aaron DeRuvo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Wallet] Green screen on app open
3 participants