Updated on 2026-08-14
This commit is contained in:
parent
a115a6ecf4
commit
2412cc8094
4 changed files with 42 additions and 22 deletions
|
|
@ -41,4 +41,10 @@ class PrefsManager {
|
|||
Hawk.delete(Constant.PREF_LAST_WALLET_ADDRESS)
|
||||
}
|
||||
|
||||
fun appendCid(newCid: String) {
|
||||
val prevCids: String = Hawk.get("CID_Key", "")
|
||||
if (!prevCids.contains(newCid)) Hawk.put("CID_Key", "$prevCids$newCid, ")
|
||||
}
|
||||
|
||||
fun getAllCids(): String = Hawk.get("CID_Key", "")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue