Upgrade Tauri dependencies

This commit is contained in:
Gregory Schier
2024-07-28 13:44:50 -07:00
parent ad3c2ed113
commit 6e156497da
19 changed files with 807 additions and 716 deletions

View File

@@ -1,4 +1,4 @@
import { getCurrent } from '@tauri-apps/api/webviewWindow';
import { getCurrentWebviewWindow } from '@tauri-apps/api/webviewWindow';
import { useEffect } from 'react';
import { fallbackRequestName } from '../lib/fallbackRequestName';
import { useActiveEnvironment } from './useActiveEnvironment';
@@ -30,7 +30,7 @@ export function useSyncWorkspaceRequestTitle() {
// TODO: This resets the stoplight position so we can't use it on macOS yet. So we send
// a custom command instead
if (osInfo?.osType !== 'macos') {
getCurrent().setTitle(newTitle).catch(console.error);
getCurrentWebviewWindow().setTitle(newTitle).catch(console.error);
} else {
emit('yaak_title_changed', newTitle).catch(console.error);
}