Change "Save" button to "Apply" in EditAccount

This commit is contained in:
miruka 2019-07-18 20:58:38 -04:00
parent 329c34cf94
commit ff7c2413df
3 changed files with 10 additions and 10 deletions

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -135,8 +135,8 @@ HGridLayout {
property bool avatarChangeRunning: false property bool avatarChangeRunning: false
id: saveButton id: saveButton
iconName: "save" iconName: "apply"
text: qsTr("Save") text: qsTr("Apply")
loading: nameChangeRunning || avatarChangeRunning loading: nameChangeRunning || avatarChangeRunning
enabled: nameField.changed || avatar.changed enabled: nameField.changed || avatar.changed

View File

@ -73,18 +73,18 @@ Item {
id: initialRoomTimer id: initialRoomTimer
interval: 4000 interval: 4000
repeat: false repeat: false
onTriggered: pageStack.showRoom( // onTriggered: pageStack.showRoom(
"@test_mary:matrix.org", // "@test_mary:matrix.org",
"Rooms", // "Rooms",
// "!TSXGsbBbdwsdylIOJZ:matrix.org" // st // "!TSXGsbBbdwsdylIOJZ:matrix.org" // st
"!VDSsFIzQnXARSCVNxS:matrix.org" // hs // "!VDSsFIzQnXARSCVNxS:matrix.org" // hs
// "Invites", // "Invites",
// "!xjqvLOGhMVutPXpAqi:matrix.org" // "!xjqvLOGhMVutPXpAqi:matrix.org"
)
// onTriggered: pageStack.showPage(
// "EditAccount/EditAccount",
// {"userId": "@test_mary:matrix.org"}
// ) // )
onTriggered: pageStack.showPage(
"EditAccount/EditAccount",
{"userId": "@test_mary:matrix.org"}
)
} }
onCurrentItemChanged: if (currentItem) { onCurrentItemChanged: if (currentItem) {