mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-19 09:22:12 +00:00
remember language
This commit is contained in:
1 parent
128338aa05
commit
8d6885d58b
3 files changed
+36
-1
No files matched your search
@@ -3,7 +3,7 @@ import type { Backend } from './types';
|
||||
export type { Backend } from './types';
|
||||
|
||||
/** Whether the page runs in the desktop app, which has the engine in its own process. */
|
||||
function inDesktopApp() {
|
||||
export function inDesktopApp() {
|
||||
return typeof window !== 'undefined' && '__TAURI_INTERNALS__' in window;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user