This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/GitHub.App/Controllers Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -160,22 +160,22 @@ void SetupView(UIViewType viewType, IView view)
160160 var dvm = factory . GetViewModel ( UIViewType . TwoFactor ) ;
161161 disposables . Add ( dvm ) ;
162162 var twofa = dvm . Value ;
163- twofa . WhenAny ( x => x . IsShowing , x => x . Value )
163+ disposables . Add ( twofa . WhenAny ( x => x . IsShowing , x => x . Value )
164164 . Where ( x => x )
165165 . ObserveOn ( RxApp . MainThreadScheduler )
166- . Subscribe ( _ => Fire ( Trigger . Next ) ) ;
166+ . Subscribe ( _ => Fire ( Trigger . Next ) ) ) ;
167167
168- view . Done
168+ disposables . Add ( view . Done
169169 . ObserveOn ( RxApp . MainThreadScheduler )
170- . Subscribe ( _ => Fire ( Trigger . Finish ) ) ;
170+ . Subscribe ( _ => Fire ( Trigger . Finish ) ) ) ;
171171 }
172172 else if ( viewType != UIViewType . TwoFactor )
173173 {
174- view . Done
174+ disposables . Add ( view . Done
175175 . ObserveOn ( RxApp . MainThreadScheduler )
176- . Subscribe ( _ => Fire ( Trigger . Next ) ) ;
176+ . Subscribe ( _ => Fire ( Trigger . Next ) ) ) ;
177177 }
178- view . Cancel . Subscribe ( _ => Stop ( ) ) ;
178+ disposables . Add ( view . Cancel . Subscribe ( _ => Stop ( ) ) ) ;
179179 }
180180
181181 IView CreateViewAndViewModel ( UIViewType viewType )
You can’t perform that action at this time.
0 commit comments