From b447ac738a1e5a3807e71b2625c964fef0eb5a16 Mon Sep 17 00:00:00 2001 From: Amine Date: Thu, 31 Aug 2017 19:57:12 +0200 Subject: [PATCH] Fixes #62. --- CHANGELOG.md | 4 ++++ .../main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 380b13a..23f45d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +**1.5.2.12** + +- Self signed certificates are now working for loading data. Image are not loading yet. + **1.5.2.11** - Added a random unique identifier to be used in the logs. diff --git a/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt b/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt index d405cff..3e11402 100644 --- a/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt +++ b/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt @@ -142,7 +142,7 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener { customTabActivityHelper = CustomTabActivityHelper() - val dirtyPref = PreferenceManager.getDefaultSharedPreferences(this) + val dirtyPref = getSharedPreferences(Config.settingsName, Context.MODE_PRIVATE) api = SelfossApi(this, this@HomeActivity, dirtyPref.getBoolean("isSelfSignedCert", false)) items = ArrayList()