fix: channel description and reaction colors in dark mode
This commit is contained in:
parent
a35130ff68
commit
49849edbac
|
@ -73,13 +73,16 @@ Item {
|
|||
|
||||
Rectangle {
|
||||
id: channelDescription
|
||||
width: 330
|
||||
height: childrenRect.height
|
||||
visible: descText.visible
|
||||
width: visible ? 330 : 0
|
||||
height: visible ? childrenRect.height : 0
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.top: channelName.bottom
|
||||
anchors.topMargin: 16
|
||||
color: Style.current.transparent
|
||||
|
||||
StyledText {
|
||||
id: descText
|
||||
wrapMode: Text.Wrap
|
||||
text: {
|
||||
switch(chatsModel.activeChannel.chatType) {
|
||||
|
|
|
@ -47,8 +47,7 @@ Item {
|
|||
radius: 10
|
||||
anchors.left: (index === 0) ? parent.left: parent.children[index-1].right
|
||||
anchors.leftMargin: (index === 0) ? 0 : root.imageMargin
|
||||
color: modelData.currentUserReacted ? Style.current.blue : Style.current.grey
|
||||
|
||||
color: modelData.currentUserReacted ? Style.current.primary : Style.current.inputBackground
|
||||
|
||||
// Rounded corner to cover one corner
|
||||
Rectangle {
|
||||
|
|
Loading…
Reference in New Issue