https://github.com/2dust/v2rayNG/issues/5798
This commit is contained in:
2dust committed 2026-06-20 16:35:29 +08:00
1 parent a65c57ea0d
commit d3e1e7c6fe
1 file changed
+5 -1
@@ -286,9 +286,13 @@ object MmkvManager {
*/
fun removeAllServer(): Int {
val count = profileFullStorage.allKeys()?.count() ?: 0
mainStorage.clearAll()
profileFullStorage.clearAll()
serverAffStorage.clearAll()
serverRawStorage.clearAll()
decodeSubscriptions().forEach { sub ->
encodeServerList(mutableListOf(), sub.guid)
}
return count
}