Skip to content

Conversation

Syn-McJ
Copy link
Member

@Syn-McJ Syn-McJ commented Sep 19, 2023

Issue being fixed or feature implemented

In DashPay, the Send screen should have the contact userpic and username instead of the destination address. The Receive tab should have the username under the address.

What was done?

  • Changed ProvideAmountViewController UI to display contact info if not null.
  • Changed ReceiveContentView UI to include the username.
  • ReceiveContentView content is adjusted on small screens to fit into SE format.

How Has This Been Tested?

QA

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@Syn-McJ Syn-McJ requested a review from pankcuf September 19, 2023 02:51
@Syn-McJ Syn-McJ self-assigned this Sep 19, 2023
@@ -20,12 +20,19 @@ import UIKit
// MARK: - ReceiveContentView

@objc(DWReceiveContentView)
final class ReceiveContentView: UIView {
final class ReceiveContentView: UIStackView {
Copy link
Member Author

Choose a reason for hiding this comment

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

StackView works better here for variable content size (username can be hidden if no identity created).

Copy link
Contributor

@pankcuf pankcuf left a comment

Choose a reason for hiding this comment

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

Lgtm

@Syn-McJ Syn-McJ merged commit d2bb77e into dashpay:feature/dashpay Sep 19, 2023
@Syn-McJ Syn-McJ deleted the feature/dashpay-send-ui branch September 19, 2023 13:47
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.

2 participants