Add Account sync last update datetime

CURA-7290
This commit is contained in:
Nino van Hooff 2020-05-01 17:44:58 +02:00
parent 0aed6d3731
commit acf36d1e42
2 changed files with 26 additions and 0 deletions

View file

@ -101,6 +101,17 @@ Column
}
}
Label
{
id: lastSyncLabel
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
renderType: Text.NativeRendering
text: catalog.i18nc("@label The argument is a timestamp", "Last update: %1").arg(Cura.API.account.lastSyncDateTime)
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text_medium")
}
Cura.SecondaryButton
{
id: accountButton