Repository navigation
chore: coinbase-master merge conflicts - #878
Merged
HashEngineering merged 1 commit intoJan 28, 2022
Merged
Conversation
| private fun updateDashSymbols() { | ||
| binding.inputCurrencyToggle.isVisible = showCurrencySelector | ||
| binding.resultCurrencyToggle.isVisible = showCurrencySelector | ||
| binding.inputCurrencyToggle.isVisible = showCurrencySelector && !dashToFiat |
Contributor
There was a problem hiding this comment.
Do we need again to add && !dashToFiat here given that showCurrencySelector already checks that for us ?
Member
Author
There was a problem hiding this comment.
@ClaudeHangui yes, because updateDashSymbols can be called independently from showCurrencySelector. Those are dynamic properties that can be changed after AmountView initialization, and we can get both toggles hidden or both visible.
And also in general, if we assign visibility to toggles, I feel it should be done in the same way everywhere just to keep the intention clear and avoid confusion for anyone who looks at it in the future.
ClaudeHangui
approved these changes
Jan 26, 2022
ClaudeHangui
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me, besides a slight concern regarding my comment on AmountView class
HashEngineering
approved these changes
Jan 27, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The latest changes to the master with extracting common components from coinbase had created some merge conflicts.
Most of these are minor, however, some changes were required to the following classes:
SetPinActivityCancelTransactionDialogand other coinbase dialogs (dialogs are now dismissed automatically instead of usingLockScreenViewModel).Issue being fixed or feature implemented
Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
Checklist: