Fixing cache issue. May need some real solution.
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
||||
})
|
||||
|
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user