diff --git a/src/lib/Others/GithubStars.svelte b/src/lib/Others/GithubStars.svelte index c50def08..d87269d9 100644 --- a/src/lib/Others/GithubStars.svelte +++ b/src/lib/Others/GithubStars.svelte @@ -1,6 +1,6 @@ @@ -27,4 +27,11 @@ }}> + {#if !isTauri} + + {/if} \ No newline at end of file diff --git a/src/ts/storage/globalApi.ts b/src/ts/storage/globalApi.ts index 83c64b52..f7a082d3 100644 --- a/src/ts/storage/globalApi.ts +++ b/src/ts/storage/globalApi.ts @@ -1468,4 +1468,8 @@ export async function fetchNative(url:string, arg:{ export function textifyReadableStream(stream:ReadableStream){ return new Response(stream).text() +} + +export function toggleFullscreen(){ + document.fullscreenElement ? document.exitFullscreen() : document.documentElement.requestFullscreen() } \ No newline at end of file