Updated on 2026-08-14

This commit is contained in:
Tangem 2019-07-05 11:24:34 +03:00
parent a115a6ecf4
commit 2412cc8094
4 changed files with 42 additions and 22 deletions

View file

@ -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", "")
}