Refactored again. Fields update on Account page

This commit is contained in:
Matthew Aaron Raymer
2022-12-16 18:46:01 +08:00
parent 607230b51c
commit c6d0473fab
2 changed files with 67 additions and 69 deletions

View File

@@ -29,7 +29,7 @@ if (exists == false) {
if (localStorage.getItem("secret") == null) {
localStorage.setItem("secret", secret);
}
console.log(secret);
encrypted(db, { secretKey: secret });
db.version(1).stores(schema);
}