Replace large file warning with bandwidth progress bar

This commit is contained in:
2022-03-29 12:18:53 +02:00
parent a5892ed565
commit e5328a7d6c
7 changed files with 69 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
<script>
import { onMount, createEventDispatcher, tick } from "svelte";
import LargeFileMessage from "./LargeFileMessage.svelte";
import BandwidthUsage from "./BandwidthUsage.svelte";
import TextBlock from "./TextBlock.svelte";
let dispatch = createEventDispatcher()
@@ -166,7 +166,9 @@ const fullscreen = () => {
</TextBlock>
<br/><br/>
<LargeFileMessage file={file}></LargeFileMessage>
{#if file.show_ads}
<BandwidthUsage/>
{/if}
{/if}
<style>