mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
fac006148f
commit
4b0fe3bc38
3 changed files with 39 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue