Add exSTATic support
This commit is contained in:
@@ -3,11 +3,18 @@
|
||||
import { isReader } from '$lib/util';
|
||||
|
||||
import { Button } from 'flowbite-svelte';
|
||||
|
||||
export let hidden = false;
|
||||
|
||||
function onClose() {
|
||||
hidden = true;
|
||||
history.back();
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if isReader()}
|
||||
<div class="flex flex-col gap-2">
|
||||
<Button color="alternative" on:click={toggleFullScreen}>Toggle fullscreen</Button>
|
||||
<Button color="alternative" on:click={() => history.back()}>Close reader</Button>
|
||||
<Button color="alternative" on:click={onClose}>Close reader</Button>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</div>
|
||||
<div class="flex flex-col gap-5">
|
||||
<Accordion flush>
|
||||
<QuickAccess />
|
||||
<QuickAccess bind:hidden />
|
||||
{#if isReader()}
|
||||
<VolumeSettings />
|
||||
{:else}
|
||||
|
||||
Reference in New Issue
Block a user