show firstrun on each first login

This commit is contained in:
balzack 2023-03-06 22:33:37 -08:00
parent 12734bc059
commit 1ad7c3ddcf

View File

@ -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 () => {