From 0b95fb15442d6a2baa703a1405929a16253b607e Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Wed, 3 Oct 2018 21:59:40 +0200 Subject: [PATCH] Use default SSL setting in case local SSL setting is not yet set (for migration purposes). --- .../org/transdroid/core/app/settings/ApplicationSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/transdroid/core/app/settings/ApplicationSettings.java b/app/src/main/java/org/transdroid/core/app/settings/ApplicationSettings.java index 4831aad2..4ffb8e96 100644 --- a/app/src/main/java/org/transdroid/core/app/settings/ApplicationSettings.java +++ b/app/src/main/java/org/transdroid/core/app/settings/ApplicationSettings.java @@ -146,7 +146,7 @@ public class ApplicationSettings { // @formatter:off Daemon type = Daemon.fromCode(prefs.getString("server_type_" + order, null)); boolean ssl = prefs.getBoolean("server_sslenabled_" + order, false); - boolean localSsl = prefs.getBoolean("server_localsslenabled_" + order, false); + boolean localSsl = prefs.getBoolean("server_localsslenabled_" + order, ssl); String port = prefs.getString("server_port_" + order, null); if (TextUtils.isEmpty(port))