Reorder QML files to follow coding conventions
https://doc.qt.io/qt-5/qml-codingconventions.html#qml-object-declarations
This commit is contained in:
@@ -8,13 +8,10 @@ import "../../Base/Buttons"
|
||||
|
||||
HFlickableColumnPage {
|
||||
id: page
|
||||
enabled: account && account.presence !== "offline"
|
||||
|
||||
|
||||
property string userId
|
||||
readonly property QtObject account: ModelStore.get("accounts").find(userId)
|
||||
|
||||
|
||||
function takeFocus() {
|
||||
userField.item.forceActiveFocus()
|
||||
}
|
||||
@@ -64,6 +61,8 @@ HFlickableColumnPage {
|
||||
}
|
||||
|
||||
|
||||
enabled: account && account.presence !== "offline"
|
||||
|
||||
footer: AutoDirectionLayout {
|
||||
ApplyButton {
|
||||
id: applyButton
|
||||
@@ -85,7 +84,6 @@ HFlickableColumnPage {
|
||||
onKeyboardAccept: startChat()
|
||||
onKeyboardCancel: cancel()
|
||||
|
||||
|
||||
CurrentUserAvatar {
|
||||
userId: page.userId
|
||||
account: page.account
|
||||
|
Reference in New Issue
Block a user