-
Notifications
You must be signed in to change notification settings - Fork 14
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
[ABW-3213] Address Details #1100
base: main
Are you sure you want to change the base?
Conversation
@@ -31,6 +31,21 @@ extension Gradient { | |||
] | |||
} | |||
|
|||
extension LinearGradient.App { | |||
public var brand1: LinearGradient { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ended up not being used on these designs but decided to keep it as we will probably need it somewhere else (it is part of the design system.
RadixWallet/Core/FeaturePrelude/AddressView/AddressDetails+View.swift
Outdated
Show resolved
Hide resolved
public struct AddressDetails: Sendable, FeatureReducer { | ||
public struct State: Sendable, Hashable { | ||
let address: LedgerIdentifiable.Address | ||
let closeAction: (() -> Void)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It really bothers me that we need to send a non-sendable closure to this state.. But it is the only way I was able to handle dismissal when the view is presented from AddressView
(which is a plain SwiftUI vanilla view). Open to better suggestions.
@matiasbzurovski Note: This is to be merged for the next 1.6.0 release if Android manages to implement it, otherwise it will go in 1.7.0 release. |
# Conflicts: # RadixWallet.xcodeproj/project.pbxproj
# Conflicts: # RadixWallet.xcodeproj/project.pbxproj
Jira ticket: ABW-3213
Jira ticket: ABW-3256
Description
This PR adds a sheet presented every time the user taps on an
AddressView
with aLedgerIdentifiable.Address
associated.Video
demo.mov