From ca84d96a50a4751432a6f6413547408346d95867 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 16 Jun 2018 19:53:04 +0900 Subject: QML UI: show the cloud credentials in the global drawer banner This is an additional side-benefit of rolling our own banner. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/main.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 2d7334471..eca8587a6 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -161,6 +161,19 @@ Kirigami.ApplicationWindow { Layout.margins: Kirigami.Units.smallSpacing } } + RowLayout { + Layout.margins: Kirigami.Units.smallSpacing + Kirigami.Heading { + Layout.fillWidth: true + visible: text.length > 0 + level: 1 + color: "white" + text: prefs.cloudUserName + wrapMode: Text.NoWrap + elide: Text.ElideRight + font.weight: Font.Normal + } + } } } -- cgit v1.2.3-70-g09d2