From 0ef4fc67faa0fcaea14b961bb5ca662a946835f6 Mon Sep 17 00:00:00 2001 From: Amine Date: Tue, 6 Jun 2017 21:13:46 +0200 Subject: [PATCH] Fixing cache issue. May need some real solution. --- CHANGELOG.md | 2 +- app/build.gradle | 4 ++-- .../main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt | 1 - app/src/main/java/apps/amine/bou/readerforselfoss/MyApp.kt | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3e566b..c081d23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -**1.5.0.3 to 1.5.0.8** +**1.5.0.3 to 1.5.0.9** - Added a drawer for filtering sources and tags. diff --git a/app/build.gradle b/app/build.gradle index dab2aef..fd17230 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,8 +25,8 @@ android { applicationId "apps.amine.bou.readerforselfoss" minSdkVersion 16 targetSdkVersion 25 - versionCode 1508 - versionName "1.5.0.8" + versionCode 1509 + versionName "1.5.0.9" // Enabling multidex support. multiDexEnabled true 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 5a0cf7c..ec27546 100644 --- a/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt +++ b/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt @@ -279,7 +279,6 @@ class HomeActivity : AppCompatActivity() { override fun onSuccess() {} override fun onFailure(p0: Exception?) { - Toast.makeText(this@HomeActivity, getString(R.string.cache_drawer_error), Toast.LENGTH_SHORT).show() } }) diff --git a/app/src/main/java/apps/amine/bou/readerforselfoss/MyApp.kt b/app/src/main/java/apps/amine/bou/readerforselfoss/MyApp.kt index 182d904..4528289 100644 --- a/app/src/main/java/apps/amine/bou/readerforselfoss/MyApp.kt +++ b/app/src/main/java/apps/amine/bou/readerforselfoss/MyApp.kt @@ -28,7 +28,7 @@ class MyApp : MultiDexApplication() { .applyAllDefaultRules() try { - Reservoir.init(this, 4096) //in bytes + Reservoir.init(this, 8192) //in bytes } catch (e: IOException) { //failure }