feat: view subscriptions in settings

This commit is contained in:
rebelonion 2024-05-17 08:57:59 -05:00
parent f1d16ba16a
commit 6c1176a182
14 changed files with 221 additions and 15 deletions

View file

@ -395,9 +395,11 @@ object PrefManager {
val obj = ois.readObject() as T?
obj
} else {
Logger.log("Serialized data is null (key: $key)")
default
}
} catch (e: java.io.InvalidClassException) {
Logger.log(e)
try {
getPrefLocation(location).edit().remove(key).apply()
default