-
Notifications
You must be signed in to change notification settings - Fork 9
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
Nft receive feature #366
Nft receive feature #366
Conversation
wallet.isMultiCoins && !filterModel.chainsFilter.isEmpty | ||
case .collections: false | ||
} | ||
default: |
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.
Use exhaustive switch
@@ -11,6 +11,9 @@ public struct CollectionsNavigationStack: View { | |||
@Environment(\.navigationState) private var navigationState | |||
@Environment(\.nftService) private var nftService | |||
@Environment(\.deviceService) private var deviceService | |||
@Environment(\.walletsService) private var walletsService | |||
|
|||
@State private var isPresentingSelectType: SelectAssetType? |
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.
@State private var isPresentingSelectType: SelectAssetType? | |
@State private var isPresentingSelectAssetType: SelectAssetType? |
@@ -20,14 +20,20 @@ public struct NFTScene: View { | |||
] | |||
} | |||
|
|||
@Binding var isPresentingSelectType: SelectAssetType? |
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.
@Binding var isPresentingSelectType: SelectAssetType? | |
@Binding var isPresentingSelectType: SelectAssetType? |
No need to include it here, navigation stack should handle it. toolbar should just call model.selectAssetType
. and then communicate this to the navigation stack
Receive button (+) has been added to Collections flow.