wip: new onboarding
This commit is contained in:
@@ -18,7 +18,7 @@ export class LumeStorage {
|
||||
this.platform = platform;
|
||||
}
|
||||
|
||||
public async secureSave(value: string, key?: string) {
|
||||
public async secureSave(key: string, value: string) {
|
||||
return await invoke('secure_save', { key, value });
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ const StorageProvider = ({ children }: PropsWithChildren<object>) => {
|
||||
|
||||
const initLumeStorage = async () => {
|
||||
try {
|
||||
const sqlite = await Database.load('sqlite:lume.db');
|
||||
const sqlite = await Database.load('sqlite:lume_v2.db');
|
||||
const platformName = await platform();
|
||||
const dir = await appConfigDir();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user