This commit is contained in:
tiago.kayaya
2021-02-26 08:38:33 +01:00
parent a74a8bfa9d
commit 8a93e49f71
9 changed files with 63 additions and 16 deletions
+2 -4
View File
@@ -15,11 +15,9 @@ const { Storage } = Plugins; */
}
// Get the value
async get(key: string) {
const ret = await this.storage.get(key).then((val) => {
return val;
});
const ret = await this.storage.get(key).then((val) => { return val; });
return JSON.parse(unescape(atob(ret)));
}
}
/*
// Get the value
async get(storageKey: string) {