Separate localEcho & readCounter theme properties
Allows making the hourglass gray by default again, while the read counter uses the accent color.
This commit is contained in:
@@ -36,10 +36,14 @@ HRowLayout {
|
||||
readonly property string timeText: utils.formatTime(model.date, false)
|
||||
|
||||
readonly property string stateText:
|
||||
`<font size=${theme.fontSize.small}px ` +
|
||||
`color=${theme.chat.message.serverState}>` + (
|
||||
model.is_local_echo ? ` ⏳` :
|
||||
model.read_by_count ? ` ⦿ ${model.read_by_count}` :
|
||||
`<font size=${theme.fontSize.small}px color=` + (
|
||||
model.is_local_echo ?
|
||||
`${theme.chat.message.localEcho}> ⧗</font>` : // U+29D7
|
||||
|
||||
model.read_by_count ?
|
||||
`${theme.chat.message.readCounter}> ⦿ ` +
|
||||
model.read_by_count : // U+29BF
|
||||
|
||||
""
|
||||
) + "</font>"
|
||||
|
||||
|
Reference in New Issue
Block a user