mobile UI/login: replace use of cloudUserName

Replace prefs.cloudUserName with PrefCloudStorage.cloud_storage_email in QML

Replace QMLPrefs.....cloudUserName with PrefCloudStorage::cloud_storage_email in C++

Signed-off-by: Jan Iversen <jani@apache.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
jan Iversen 2019-12-20 16:35:12 +01:00 committed by Dirk Hohndel
parent 4b713ece96
commit ac28896a5d
4 changed files with 12 additions and 17 deletions

View file

@ -58,7 +58,7 @@ Item {
Controls.TextField {
id: login
text: prefs.cloudUserName
text: PrefCloudStorage.cloud_storage_email
visible: !prefs.showPin
Layout.fillWidth: true
inputMethodHints: Qt.ImhEmailCharactersOnly |
@ -101,7 +101,7 @@ Item {
visible: prefs.showPin
SsrfButton {
id: registerpin
text: qsTr("Register")
text: qsTr("Register")
onClicked: {
saveCredentials()
}