Support dynamic dark/light themes
This commit is contained in:
@@ -410,7 +410,9 @@ const keyboard_event = evt => {
|
||||
bind:this={list_navigator}
|
||||
files={list.files}
|
||||
shuffle={list_shuffle}
|
||||
on:set_file={e => { open_file_index(e.detail) }}>
|
||||
on:set_file={e => open_file_index(e.detail)}
|
||||
on:toggle_gallery={toggle_gallery}
|
||||
>
|
||||
</ListNavigator>
|
||||
{/if}
|
||||
|
||||
@@ -423,17 +425,6 @@ const keyboard_event = evt => {
|
||||
<hr/>
|
||||
{/if}
|
||||
|
||||
{#if is_list}
|
||||
<button
|
||||
on:click={toggle_gallery}
|
||||
class="toolbar_button"
|
||||
class:button_highlight={view === "gallery"}
|
||||
title="Opens a gallery view of the album">
|
||||
<i class="icon">photo_library</i>
|
||||
Gallery
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
{#if file.abuse_type === "" && view === "file"}
|
||||
<button
|
||||
on:click={downloader.download_file}
|
||||
|
Reference in New Issue
Block a user