mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-30 22:22:02 +02:00
Upgrade to Tauri 2.0 (#23)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { appWindow } from '@tauri-apps/api/window';
|
||||
import { getCurrent } from '@tauri-apps/api/webviewWindow';
|
||||
import { getKeyValue, setKeyValue } from './keyValueStore';
|
||||
|
||||
const key = ['window_pathname', appWindow.label];
|
||||
const key = ['window_pathname', getCurrent().label];
|
||||
const namespace = 'no_sync';
|
||||
const fallback = undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user