Explorar el Código

Fix call notification dialog buttons

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra hace 3 años
padre
commit
9edc7357f7
Se han modificado 2 ficheros con 4 adiciones y 3 borrados
  1. 2 2
      src/gui/tray/CallNotificationDialog.qml
  2. 2 1
      src/gui/tray/CustomButton.qml

+ 2 - 2
src/gui/tray/CallNotificationDialog.qml

@@ -222,7 +222,7 @@ Window {
                         text: modelData.label
                         text: modelData.label
                         bold: true
                         bold: true
                         bgColor: Style.ncBlue
                         bgColor: Style.ncBlue
-                        bgOpacity: 0.8
+                        bgNormalOpacity: 0.8
 
 
                         textColor: Style.ncHeaderTextColor
                         textColor: Style.ncHeaderTextColor
 
 
@@ -249,7 +249,7 @@ Window {
                     text: qsTr("Decline")
                     text: qsTr("Decline")
                     bold: true
                     bold: true
                     bgColor: Style.errorBoxBackgroundColor
                     bgColor: Style.errorBoxBackgroundColor
-                    bgOpacity: 0.8
+                    bgNormalOpacity: 0.8
 
 
                     textColor: Style.ncHeaderTextColor
                     textColor: Style.ncHeaderTextColor
 
 

+ 2 - 1
src/gui/tray/CustomButton.qml

@@ -18,7 +18,8 @@ Button {
 
 
     property bool bold: false
     property bool bold: false
 
 
-    property real bgOpacity: 0.3
+    property alias bgNormalOpacity: bgRectangle.normalOpacity
+    property alias bgHoverOpacity: bgRectangle.hoverOpacity
 
 
     background: NCButtonBackground {
     background: NCButtonBackground {
         id: bgRectangle
         id: bgRectangle