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

Commit 783b432

Browse files
committed
Fix Login Bug
Fixes #417
1 parent d81b262 commit 783b432

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

CodeHub.iOS/AppDelegate.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,12 @@ public void RegisterUserForNotifications()
152152

153153
private void GoToStartupView()
154154
{
155-
var startup = new ViewControllers.Application.StartupViewController();
156-
TransitionToViewController(startup);
157-
158155
MessageBus
159156
.Current.Listen<LogoutMessage>()
157+
.StartWith(new LogoutMessage())
160158
.ObserveOn(RxApp.MainThreadScheduler)
161-
.Subscribe(_ => TransitionToViewController(startup));
159+
.Select(_ => new ViewControllers.Application.StartupViewController())
160+
.Subscribe(TransitionToViewController);
162161
}
163162

164163
public void TransitionToViewController(UIViewController viewController)

CodeHub.iOS/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<key>CFBundleIdentifier</key>
3636
<string>com.dillonbuchanan.codehub</string>
3737
<key>CFBundleShortVersionString</key>
38-
<string>2.17.2</string>
38+
<string>2.17.3</string>
3939
<key>UIStatusBarTintParameters</key>
4040
<dict>
4141
<key>UINavigationBar</key>
@@ -69,7 +69,7 @@
6969
<string>UIInterfaceOrientationLandscapeRight</string>
7070
</array>
7171
<key>CFBundleVersion</key>
72-
<string>2.17.2.1</string>
72+
<string>2.17.3.1</string>
7373
<key>UILaunchStoryboardName</key>
7474
<string>Launch</string>
7575
<key>NSAppTransportSecurity</key>

0 commit comments

Comments
 (0)