Skip to content
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-1957, ABW-1956 X button on success screen #722

Merged
merged 4 commits into from
Sep 6, 2023

Conversation

maciek-rdx
Copy link
Contributor

Jira ticket:

  1. one
  2. two

Description

Seems that pure SwiftUI is more reliable and "simpler" in that case.

Notes

Not sure if we should deprecate the @Dependency(\.dismiss) entirely 🤔?

Video

RPReplay_Final1694005220.MP4

PR submission checklist

  • I have tested account to account transfer flow and have confirmed that it works

WithNavigationBar {
viewStore.send(.closeButtonTapped)
} content: {
WithViewStore(store, observe: ViewState.init, send: absurd) { viewStore in
Copy link
Contributor

Choose a reason for hiding this comment

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

@maciek-rdx send: absurd ? :P

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, its switch never {} 🙂 But not necessary in that case, can be just ommited 🧹

Copy link
Contributor

@CyonAlexRDX CyonAlexRDX left a comment

Choose a reason for hiding this comment

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

Add // FIXME: use dismiss dependency, when TCA 1.1.0 please, since this make testing impossible.

@maciek-rdx maciek-rdx merged commit 5277589 into main Sep 6, 2023
5 checks passed
@maciek-rdx maciek-rdx deleted the ABW-1957,-ABW-1956-X-button-on-success-screen branch September 6, 2023 17:05
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants