disable and hide footer while downloading metadata

fade it in when downloaded
This commit is contained in:
Dmitry Degtyarev 2020-11-03 13:13:34 +04:00
parent 14ff5b9328
commit dc573e264b

View File

@ -172,6 +172,7 @@ FocusScope {
Rectangle {
id: frontFooter
clip: true
activeFocusOnTab: true
radius: 3
@ -180,6 +181,15 @@ FocusScope {
height: 32
z: -1
// Disable and hide footer until releases are loaded and then fade it in.
enabled: !releases.beingUpdated
opacity: releases.beingUpdated ? 0.0 : 1.0
Behavior on opacity {
NumberAnimation {
duration: 600
}
}
Rectangle {
anchors.fill: parent
anchors.topMargin: -10