1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00

mobile: show sync state in menu plate

This seems like the easiest way to show the state without disrupting the UI
elsewhere. Directly below the email address used for cloud storage.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-06-13 13:58:32 -07:00
parent 3a409c51ea
commit 5ff08598ca

View file

@ -229,6 +229,21 @@ Kirigami.ApplicationWindow {
font.weight: Font.Normal
}
}
RowLayout {
Layout.leftMargin: Kirigami.Units.smallSpacing
Layout.topMargin: 0
Kirigami.Heading {
Layout.fillWidth: true
Layout.topMargin: 0
visible: text.length > 0
level: 5
color: "white"
text: manager.syncState
wrapMode: Text.NoWrap
elide: Text.ElideRight
font.weight: Font.Normal
}
}
}
}