From e8d4d8c06c9b14a2992a9a2d4283b1dd9d04f3d1 Mon Sep 17 00:00:00 2001 From: Roland Date: Sat, 6 Dec 2025 22:14:05 -0700 Subject: [PATCH] Moving file preview actions to the top for better visibility. --- app/src/components/FilePreview.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/src/components/FilePreview.js b/app/src/components/FilePreview.js index c276e92b..6d84b7b8 100644 --- a/app/src/components/FilePreview.js +++ b/app/src/components/FilePreview.js @@ -10,6 +10,7 @@ import {Button, Modal, ModalActions, ModalContent, ModalHeader} from "./Theme"; import {toast} from "react-semantic-toasts-2"; import {useOneQuery} from "../hooks/customHooks"; import {ShareButton} from "./Share"; +import {pathDirectory} from "./FileBrowser"; function getMediaPathURL(previewFile) { if (previewFile['primary_path']) { @@ -249,8 +250,10 @@ export function FilePreviewProvider({children}) { onRemove={localRemoveTag}/> : null; const downloadButton = downloadURL ? - +