mirror of
https://github.com/balzack/databag.git
synced 2025-03-13 00:50:03 +00:00
show firstrun on each first login
This commit is contained in:
parent
12734bc059
commit
1ad7c3ddcf
@ -45,7 +45,7 @@ export function useStoreContext() {
|
||||
await db.current.executeSql("INSERT OR REPLACE INTO app (key, value) values (?, ?);", [dataId, encodeObject(profile)]);
|
||||
},
|
||||
getFirstRun: async (guid) => {
|
||||
const firstRun = await getAppValue(db.current, "firstrun", { set: true });
|
||||
const firstRun = await getAppValue(db.current, `${guid}_firstrun`, { set: true });
|
||||
return firstRun.set;
|
||||
},
|
||||
setFirstRun: async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user