mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 03:12:05 +02:00
Merge pull request #2095
507441f
History: improve human readable time format (selsta)
This commit is contained in:
commit
528aba8724
@ -878,8 +878,18 @@ Rectangle {
|
||||
state: "copyable"
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
onEntered: parent.color = MoneroComponents.Style.orange
|
||||
onExited: parent.color = MoneroComponents.Style.defaultFontColor
|
||||
onEntered: {
|
||||
parent.color = MoneroComponents.Style.orange
|
||||
if (persistentSettings.historyHumanDates) {
|
||||
parent.text = date + " " + time;
|
||||
}
|
||||
}
|
||||
onExited: {
|
||||
parent.color = MoneroComponents.Style.defaultFontColor
|
||||
if (persistentSettings.historyHumanDates) {
|
||||
parent.text = dateHuman
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user