From: Claudio Cambra Date: Thu, 20 Oct 2022 12:11:10 +0000 (+0200) Subject: Fix call notification dialog buttons X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~197^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9edc7357f7ad709d226ac7b073da9b889951e5a3;p=nextcloud-desktop.git Fix call notification dialog buttons Signed-off-by: Claudio Cambra --- diff --git a/src/gui/tray/CallNotificationDialog.qml b/src/gui/tray/CallNotificationDialog.qml index 3d71c8451..c942877ad 100644 --- a/src/gui/tray/CallNotificationDialog.qml +++ b/src/gui/tray/CallNotificationDialog.qml @@ -222,7 +222,7 @@ Window { text: modelData.label bold: true bgColor: Style.ncBlue - bgOpacity: 0.8 + bgNormalOpacity: 0.8 textColor: Style.ncHeaderTextColor @@ -249,7 +249,7 @@ Window { text: qsTr("Decline") bold: true bgColor: Style.errorBoxBackgroundColor - bgOpacity: 0.8 + bgNormalOpacity: 0.8 textColor: Style.ncHeaderTextColor diff --git a/src/gui/tray/CustomButton.qml b/src/gui/tray/CustomButton.qml index e9a75c663..97b50b7dd 100644 --- a/src/gui/tray/CustomButton.qml +++ b/src/gui/tray/CustomButton.qml @@ -18,7 +18,8 @@ Button { property bool bold: false - property real bgOpacity: 0.3 + property alias bgNormalOpacity: bgRectangle.normalOpacity + property alias bgHoverOpacity: bgRectangle.hoverOpacity background: NCButtonBackground { id: bgRectangle