QML UI: turn off 'no cloud' button when not in use

This needs to be actively cleared.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-22 05:05:57 -07:00
parent 34628f8e6d
commit 6b43b3015d

View file

@ -221,9 +221,11 @@ Kirigami.ScrollablePage {
title = "Cloud credentials"
} else if(manager.credentialStatus === QMLManager.VALID || manager.credentialStatus === QMLManager.VALID_EMAIL) {
page.actions.main = page.addDiveAction
page.actions.right = null
title = "Dive list"
} else {
page.actions.main = null
page.actions.right = null
title = "Dive list"
}
}