fix(@desktop/chat): fix offline indicator in dark mode

fixes #3239
This commit is contained in:
Anthony Laibe 2021-08-19 09:48:49 +02:00 committed by Iuri Matias
parent 3fdd593f0f
commit 1ab9b82541
2 changed files with 3 additions and 3 deletions

View File

@ -305,7 +305,7 @@ StatusAppLayout {
badge.implicitWidth: 15 badge.implicitWidth: 15
badge.border.color: hovered ? Theme.palette.statusBadge.hoverBorderColor : Theme.palette.statusAppNavBar.backgroundColor badge.border.color: hovered ? Theme.palette.statusBadge.hoverBorderColor : Theme.palette.statusAppNavBar.backgroundColor
badge.color: { badge.color: {
return profileModel.profile.sendUserStatus ? Style.current.green : Style.current.darkGrey return profileModel.profile.sendUserStatus ? Style.current.green : Style.current.midGrey
/* /*
// Use this code once support for custom user status is added // Use this code once support for custom user status is added
switch(profileModel.profile.currentUserStatus){ switch(profileModel.profile.currentUserStatus){
@ -314,7 +314,7 @@ StatusAppLayout {
case Constants.statusType_DoNotDisturb: case Constants.statusType_DoNotDisturb:
return Style.current.red; return Style.current.red;
default: default:
return Style.current.darkGrey; return Style.current.midGrey;
}*/ }*/
} }
badge.border.width: 3 badge.border.width: 3

View File

@ -101,7 +101,7 @@ PopupMenu {
root.close() root.close()
} }
icon.color: Style.current.darkGrey icon.color: Style.current.midGrey
icon.source: "img/offline.svg" icon.source: "img/offline.svg"
icon.width: 16 icon.width: 16
icon.height: 16 icon.height: 16