Refactor _displayFiles function; Only show ReceiveFileDialog if share menu is used OR if automatic download has not worked

This commit is contained in:
schlagmichdoch 2024-02-05 20:39:36 +01:00
parent 7af51bbd5f
commit 417d5421a6
2 changed files with 290 additions and 159 deletions

View file

@ -447,7 +447,7 @@
<div class="center file-preview"></div>
<div class="row-reverse center btn-row wrap">
<button id="share-btn" class="btn btn-rounded btn-grey" data-i18n-key="dialogs.share" data-i18n-attrs="text" hidden></button>
<button id="download-btn" class="btn btn-rounded btn-grey" data-i18n-key="dialogs.download" data-i18n-attrs="text" autofocus disabled></button>
<button id="download-btn" class="btn btn-rounded btn-grey" data-i18n-key="dialogs.download" data-i18n-attrs="text" autofocus disabled hidden></button>
<button class="btn btn-rounded btn-grey" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
</div>
</x-paper>