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>
This commit is contained in:
Dirk Hohndel 2018-06-16 19:53:04 +09:00
parent c8ef3d7924
commit ca84d96a50

View file

@ -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
}
}
}
}