Skip to content

Commit 5215c55

Browse files
committed
fix: Clear preferences before saving cache
1 parent 802d3e7 commit 5215c55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/io/github/chsbuffer/revancedxposed/PatchExecutor.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ class SharedPrefCache(app: Application) : DexKitCacheBridge.Cache {
110110

111111
fun saveCache() {
112112
val edit = pref.edit()
113+
edit.clear()
113114
map.forEach { (k, v) ->
114115
edit.putString(k, v)
115116
}

0 commit comments

Comments
 (0)