From 3de101281697bc18ed13041e080e69001931206e Mon Sep 17 00:00:00 2001 From: Sam Steele Date: Fri, 11 Dec 2020 08:22:14 -0500 Subject: [PATCH] fix initial socket host and path --- src/com/irccloud/android/IRCCloudApplication.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/irccloud/android/IRCCloudApplication.java b/src/com/irccloud/android/IRCCloudApplication.java index 0003e4a9a..a61565a21 100644 --- a/src/com/irccloud/android/IRCCloudApplication.java +++ b/src/com/irccloud/android/IRCCloudApplication.java @@ -119,6 +119,7 @@ public void onFailed(@Nullable Throwable throwable) { conn = NetworkConnection.getInstance(); ColorFormatter.init(); + prefs = getSharedPreferences("prefs", 0); NetworkConnection.IRCCLOUD_HOST = prefs.getString("host", BuildConfig.HOST); NetworkConnection.IRCCLOUD_PATH = prefs.getString("path", "/");