Merge pull request #193 from LukasKorba/186_ValidationFailed_transition_animation_fix
This commit is contained in:
commit
c658ae9b88
|
@ -9,6 +9,8 @@ import SwiftUI
|
|||
import ComposableArchitecture
|
||||
|
||||
struct ValidationFailedView: View {
|
||||
@Environment(\.presentationMode) var presentationMode
|
||||
|
||||
var store: RecoveryPhraseValidationStore
|
||||
|
||||
var body: some View {
|
||||
|
@ -48,7 +50,10 @@ struct ValidationFailedView: View {
|
|||
}
|
||||
|
||||
Button(
|
||||
action: { viewStore.send(.reset) },
|
||||
action: {
|
||||
viewStore.send(.reset)
|
||||
presentationMode.wrappedValue.dismiss()
|
||||
},
|
||||
label: { Text("validationFailed.button.tryAgain") }
|
||||
)
|
||||
.activeButtonStyle
|
||||
|
|
Loading…
Reference in New Issue