mobile: show incorrect cloud password state

While the startup flow should make it obvious when a user is not
correctly logged into the cloud, we still do see fairly frequent
situations where a user has an incorrect password on a mobile device and
is confused about why their data isn't syncing with their PC. Now this
is clearly shown in the main menu.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2024-02-23 16:21:17 -08:00
parent fac006148f
commit 4b0fe3bc38
3 changed files with 39 additions and 3 deletions

View file

@ -261,6 +261,22 @@ 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.passwordState
wrapMode: Text.NoWrap
elide: Text.ElideRight
font.weight: Font.Normal
}
}
RowLayout {
Layout.leftMargin: Kirigami.Units.smallSpacing
Layout.topMargin: 0