wip: new onboarding
This commit is contained in:
@@ -28,12 +28,7 @@ const NDKProvider = ({ children }: PropsWithChildren<object>) => {
|
||||
data-tauri-drag-region
|
||||
className="flex h-screen w-screen items-center justify-center bg-neutral-50 dark:bg-neutral-950"
|
||||
>
|
||||
<div className="flex flex-col items-center justify-center gap-2">
|
||||
<LoaderIcon className="h-6 w-6 animate-spin text-neutral-950 dark:text-neutral-50" />
|
||||
<h3 className="text-lg font-medium leading-none text-neutral-950 dark:text-neutral-50">
|
||||
Connecting...
|
||||
</h3>
|
||||
</div>
|
||||
<LoaderIcon className="h-8 w-8 animate-spin text-neutral-950 dark:text-neutral-50" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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