mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Add the possibility to show a recently added/updated indicator
This commit is contained in:
@ -283,6 +283,16 @@ SplitView {
|
||||
|
||||
}
|
||||
|
||||
//is new
|
||||
Rectangle {
|
||||
width: 10
|
||||
height: 10
|
||||
radius: 5
|
||||
anchors { left: coverElement.left; top: coverElement.top; topMargin: 5; leftMargin: 5; }
|
||||
color: "#FFFFCC00"
|
||||
visible: (((new Date() / 1000) - added_date) < 86400) && show_recent
|
||||
}
|
||||
|
||||
//border
|
||||
Rectangle {
|
||||
width: coverElement.width
|
||||
|
Reference in New Issue
Block a user