Repository navigation
[NMA-1167] (Coinbase) Authorization limit dialog - #900
Merged
HashEngineering merged 6 commits intoFeb 24, 2022
Merged
HashEngineering merged 6 commits into
HashEngineering merged 6 commits into
Conversation
Syn-McJ
commented
Feb 23, 2022
| android:src="@drawable/ic_blue_support" | ||
| app:layout_constraintBottom_toBottomOf="@+id/buy_dialog_contact_coinbase_support" | ||
| app:layout_constraintEnd_toStartOf="@+id/buy_dialog_contact_coinbase_support" | ||
| app:layout_constraintTop_toTopOf="@+id/buy_dialog_contact_coinbase_support" /> |
Member
Author
There was a problem hiding this comment.
This can all be done with just a button
Syn-McJ
commented
Feb 23, 2022
| LIQUID(org.dash.wallet.integration.liquid.R.string.liquid, org.dash.wallet.common.R.drawable.ic_liquid), | ||
| UPHOLD(org.dash.wallet.integration.uphold.R.string.uphold_account, org.dash.wallet.common.R.drawable.ic_uphold), | ||
| COINBASE(org.dash.wallet.integration.coinbase_integration.R.string.coinbase, org.dash.wallet.common.R.drawable.ic_coinbase) | ||
| COINBASE(org.dash.wallet.integration.coinbase_integration.R.string.coinbase, R.drawable.ic_coinbase) |
Member
Author
There was a problem hiding this comment.
I see no reason to put module-specific resources in the Common. If we do, it will grow to enormous proportions. Separation of resources is also a benefit in modular structure.
Syn-McJ
commented
Feb 23, 2022
|
|
||
| @AndroidEntryPoint | ||
| class BuyAndSellLiquidUpholdActivity : LockScreenActivity(), FancyAlertDialog.FancyAlertButtonsClickListener { | ||
| class BuyAndSellIntegrationsActivity : LockScreenActivity(), FancyAlertDialog.FancyAlertButtonsClickListener { |
Member
Author
There was a problem hiding this comment.
Seemed like a better name given that there are more integrations now.
Collaborator
There was a problem hiding this comment.
Yes, great idea to change this class name.
Syn-McJ
commented
Feb 23, 2022
|
|
||
| private var liquidClient: LiquidClient? = null | ||
| private var loadingDialog: ProgressDialog? = null | ||
| private var bottomSheetDialog: BottomSheetDialog? = null |
ClaudeHangui
approved these changes
Feb 23, 2022
ClaudeHangui
left a comment
Contributor
There was a problem hiding this comment.
All good for me !
thanks for the heads up in the PR description regarding the design
HashEngineering
approved these changes
Feb 23, 2022
3 tasks
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 first time user tries to log in to Conbase, we need to show a dialog about the correct authorization limit.
Issue being fixed or feature implemented
CardViewRaisedstyle orandroid:elevation. I've addedViewRaisedstyle that implements the correct shadow color.I have also moved some of the old styles from the common module to the wallet, to encourage developers to use the new typography and button styles in feature modules. This allows us to start to address a couple of UI issues we have:
android:textAlignment="viewStart"to the typography styles. We can only do this for the new styles as adding it to the old ones can break things in the wallet module. However, because we keep mixing the new and the old styles this fix is not as easy.Related PR's and Dependencies
This PR should be merged to feature-coinbase-integration if done after #897
Screenshots / Videos
How Has This Been Tested?
Checklist: