File tree 3 files changed +3
-3
lines changed
CaseStudies/UIKitCaseStudies
TicTacToe/tic-tac-toe/Sources/LoginUIKit
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ class LazyNavigationViewController: UIViewController {
107
107
override func viewDidAppear( _ animated: Bool ) {
108
108
super. viewDidAppear ( animated)
109
109
110
- if !isMovingToParent {
110
+ if !isMovingToParent && store . optionalCounter != nil {
111
111
store. send ( . setNavigation( isActive: false ) )
112
112
}
113
113
}
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ class EagerNavigationViewController: UIViewController {
100
100
override func viewDidAppear( _ animated: Bool ) {
101
101
super. viewDidAppear ( animated)
102
102
103
- if !isMovingToParent {
103
+ if !isMovingToParent && store . isNavigationActive {
104
104
store. send ( . setNavigation( isActive: false ) )
105
105
}
106
106
}
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public class LoginViewController: UIViewController {
126
126
public override func viewDidAppear( _ animated: Bool ) {
127
127
super. viewDidAppear ( animated)
128
128
129
- if !isMovingToParent {
129
+ if !isMovingToParent && store . twoFactor != nil {
130
130
store. twoFactorDismissed ( )
131
131
}
132
132
}
You can’t perform that action at this time.
0 commit comments