Fix components for share details page footer
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Thu, 14 Nov 2024 10:51:02 +0000 (18:51 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Thu, 21 Nov 2024 05:20:59 +0000 (13:20 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/filedetails/ShareDetailsPage.qml

index 72836f530bd14a10040435e1ba7537c5c2bf1721..b6f2838eddcf39f565981cabe66fe4eed24123d0 100644 (file)
@@ -750,7 +750,9 @@ Page {
         contentWidth: (contentItem as ListView).contentWidth
         visible: copyShareLinkButton.visible
 
-        CustomButton {
+        background: Rectangle { color: palette.base }
+
+        Button {
             id: copyShareLinkButton
 
             function copyShareLink() {
@@ -780,15 +782,6 @@ Page {
 
             onClicked: copyShareLink()
 
-            // TODO
-            // Behavior on bgColor {
-            //     ColorAnimation { duration: Style.shortAnimationDuration }
-            // }
-
-            // Behavior on bgHoverOpacity {
-            //     NumberAnimation { duration: Style.shortAnimationDuration }
-            // }
-
             Behavior on Layout.preferredWidth {
                 SmoothedAnimation { duration: Style.shortAnimationDuration }
             }