Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

feat(frontend:files): add download shortcut to mobile toolbar

johavene64876d01f5d
diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.html b/frontend/src/app/applications/spaces/components/spaces-browser.component.html
index 4438ef7f..ad46d956 100644
--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.html
+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.html
@@ -57,6 +57,16 @@
</ul>
</div>
<!--End Upload Button-->
+ <!--Start Download Button-->
+ <button (click)="downloadFiles()"
+ [attr.aria-label]="'Download' | translate:locale.language"
+ [disabled]="!hasSelection || hasDisabledItemsInSelection"
+ [tooltip]="'Download' | translate:locale.language"
+ class="d-sm-none btn btn-default app-top-menu-tool-bar__action--icon app-top-menu-tool-bar__action--quiet"
+ type="button">
+ <svg [lucideIcon]="icons.LucideHardDriveDownload"></svg>
+ </button>
+ <!--End Download Button-->
}
@if (inSharesList) {
<button (click)="shortcutOpen()"