mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 14:26:34 +00:00
fix: make the time not selectable
This commit is contained in:
parent
0f44178c85
commit
e8c169aace
@ -3,16 +3,14 @@ import "../../../../../shared"
|
||||
import "../../../../../shared/status"
|
||||
import "../../../../../imports"
|
||||
|
||||
StyledTextEdit {
|
||||
StyledText {
|
||||
property bool formatDateTime: false
|
||||
id: chatTime
|
||||
visible: isMessage
|
||||
color: isImage ? Style.current.white : Style.current.darkGrey
|
||||
text: formatDateTime ? Utils.formatDateTime(timestamp, appSettings.locale) : Utils.formatTime(timestamp, appSettings.locale)
|
||||
font.pixelSize: Style.current.asideTextFontSize
|
||||
readOnly: true
|
||||
selectByMouse: true
|
||||
|
||||
|
||||
StatusToolTip {
|
||||
visible: hhandler.hovered
|
||||
text: new Date(parseInt(timestamp, 10)).toLocaleString(Qt.locale(appSettings.locale))
|
||||
|
Loading…
x
Reference in New Issue
Block a user