mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Remove cutomizations for text color and hover from ActivityActionButton.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
parent
43bafda1eb
commit
aaf9d6bd4c
1 changed files with 0 additions and 12 deletions
|
@ -10,11 +10,7 @@ AbstractButton {
|
|||
|
||||
property bool primaryButton: false
|
||||
|
||||
property string imageSourceHover: ""
|
||||
|
||||
readonly property color adjustedHeaderColor: Style.adjustedCurrentUserHeaderColor
|
||||
readonly property color textColor: primaryButton ? adjustedHeaderColor : palette.buttonText
|
||||
readonly property color textColorHovered: primaryButton ? Style.currentUserHeaderTextColor : palette.buttonText
|
||||
|
||||
property string verb: ""
|
||||
property bool isTalkReplyButton: false
|
||||
|
@ -22,12 +18,6 @@ AbstractButton {
|
|||
leftPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
|
||||
rightPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
|
||||
|
||||
background: NCButtonBackground {
|
||||
color: Style.currentUserHeaderColor
|
||||
hovered: root.hovered
|
||||
visible: root.primaryButton
|
||||
}
|
||||
|
||||
contentItem: Loader {
|
||||
id: contentItemLoader
|
||||
active: true
|
||||
|
@ -57,10 +47,8 @@ AbstractButton {
|
|||
NCButtonContents {
|
||||
anchors.fill: parent
|
||||
hovered: root.hovered
|
||||
imageSourceHover: root.imageSourceHover
|
||||
imageSource: root.icon.source
|
||||
text: root.text
|
||||
font.bold: root.primaryButton
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue