mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
use colour from Style instead of palette for icons
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
This commit is contained in:
parent
fa5d3bc2f6
commit
fa6e4efbd9
@ -198,7 +198,7 @@ Button {
|
||||
id: currentAccountUser
|
||||
Layout.alignment: Qt.AlignLeft | Qt.AlignBottom
|
||||
width: Style.currentAccountLabelWidth
|
||||
color: palette.windowText
|
||||
color: Style.currentUserHeaderTextColor
|
||||
text: UserModel.currentUser ? UserModel.currentUser.name : ""
|
||||
elide: Text.ElideRight
|
||||
|
||||
@ -210,7 +210,7 @@ Button {
|
||||
id: currentAccountServer
|
||||
Layout.alignment: Qt.AlignLeft | Qt.AlignBottom
|
||||
width: Style.currentAccountLabelWidth
|
||||
color: palette.windowText
|
||||
color: Style.currentUserHeaderTextColor
|
||||
text: UserModel.currentUser ? UserModel.currentUser.server : ""
|
||||
elide: Text.ElideRight
|
||||
visible: UserModel.numUsers() > 1
|
||||
@ -227,7 +227,7 @@ Button {
|
||||
id: emoji
|
||||
visible: UserModel.currentUser && UserModel.currentUser.statusEmoji !== ""
|
||||
width: Style.userStatusEmojiSize
|
||||
color: palette.windowText
|
||||
color: Style.currentUserHeaderTextColor
|
||||
text: UserModel.currentUser ? UserModel.currentUser.statusEmoji : ""
|
||||
}
|
||||
EnforcedPlainTextLabel {
|
||||
@ -236,7 +236,7 @@ Button {
|
||||
Layout.fillWidth: true
|
||||
visible: UserModel.currentUser && UserModel.currentUser.statusMessage !== ""
|
||||
width: Style.currentAccountLabelWidth
|
||||
color: palette.windowText
|
||||
color: Style.currentUserHeaderTextColor
|
||||
text: UserModel.currentUser && UserModel.currentUser.statusMessage !== ""
|
||||
? UserModel.currentUser.statusMessage
|
||||
: UserModel.currentUser ? UserModel.currentUser.server : ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user