mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Profile notification layout add desc fild
This commit is contained in:
@@ -16,7 +16,11 @@ const { Storage } = Plugins; */
|
||||
// Get the value
|
||||
async get(key: string) {
|
||||
const ret = await this.storage.get(key).then((val) => { return val; });
|
||||
return JSON.parse(unescape(atob(ret)));
|
||||
try {
|
||||
return JSON.parse(unescape(atob(ret)));
|
||||
} catch (error) {
|
||||
return unescape(atob(ret))
|
||||
}
|
||||
}
|
||||
|
||||
async remove(key: string){
|
||||
|
||||
Reference in New Issue
Block a user