Skip to content
This repository was archived by the owner on Jul 2, 2022. It is now read-only.

Commit 9b8dc6c

Browse files
committed
Fix Crash Of Subsequent App Runs
Fixes #420
1 parent 5dbf971 commit 9b8dc6c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CodeHub.iOS/AppDelegate.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,10 @@ public void RegisterUserForNotifications()
153153

154154
private void GoToStartupView()
155155
{
156+
TransitionToViewController(new ViewControllers.Application.StartupViewController());
157+
156158
MessageBus
157159
.Current.Listen<LogoutMessage>()
158-
.StartWith(new LogoutMessage())
159160
.ObserveOn(RxApp.MainThreadScheduler)
160161
.Select(_ => new ViewControllers.Application.StartupViewController())
161162
.Subscribe(TransitionToViewController);

0 commit comments

Comments
 (0)