diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-06-16 19:53:04 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-18 06:32:23 +0900 |
commit | ca84d96a50a4751432a6f6413547408346d95867 (patch) | |
tree | 53718759b619fc3051e741bf13e4b7f2dd8e7baa | |
parent | c8ef3d792485b3b1dbb9ef699b27648e2518caa4 (diff) | |
download | subsurface-ca84d96a50a4751432a6f6413547408346d95867.tar.gz |
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 <dirk@hohndel.org>
-rw-r--r-- | mobile-widgets/qml/main.qml | 13 |
1 files changed, 13 insertions, 0 deletions
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 + } + } } } |