Fixing cache issue. May need some real solution.

This commit is contained in:
Amine
2017-06-06 21:13:46 +02:00
parent e2bfd549d3
commit 0ef4fc67fa
4 changed files with 4 additions and 5 deletions

View File

@ -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()
}
})

View File

@ -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
}