From 5ff08598ca252b5caf05d3ad83b31ef21929708c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 13 Jun 2020 13:58:32 -0700 Subject: 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 --- mobile-widgets/qml/main.qml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 92ee7e075..d12c0df41 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -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 + } + } } } -- cgit v1.2.3-70-g09d2