Skip to content

chore: coinbase-master merge conflicts - #878

Merged
HashEngineering merged 1 commit into
feature-coinbase-integrationfrom
chore-coinbase-master-merge
Jan 28, 2022
Merged

HashEngineering merged 1 commit into
feature-coinbase-integrationfrom
chore-coinbase-master-merge

Conversation

@Syn-McJ

@Syn-McJ Syn-McJ commented Jan 26, 2022

Copy link
Copy Markdown
Member

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:

  • SetPinActivity
  • CancelTransactionDialog and other coinbase dialogs (dialogs are now dismissed automatically instead of using LockScreenViewModel).

Issue being fixed or feature implemented

Related PR's and Dependencies

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

private fun updateDashSymbols() {
binding.inputCurrencyToggle.isVisible = showCurrencySelector
binding.resultCurrencyToggle.isVisible = showCurrencySelector
binding.inputCurrencyToggle.isVisible = showCurrencySelector && !dashToFiat

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need again to add && !dashToFiat here given that showCurrencySelector already checks that for us ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@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 ClaudeHangui left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me, besides a slight concern regarding my comment on AmountView class

@Syn-McJ Syn-McJ self-assigned this Jan 27, 2022
@HashEngineering
HashEngineering merged commit b98f9d0 into feature-coinbase-integration Jan 28, 2022
@HashEngineering
HashEngineering deleted the chore-coinbase-master-merge branch February 24, 2022 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants