Skip to content
Snippets Groups Projects
Commit 8e1736fd authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

account-migration: fix dialog avatar loading

Broken javascript caused the dialog component to fail.

Change-Id: I049f651e2db16749dbdf8f6fe3ee61df05361986
Gitlab: #524
parent f7ce4b69
No related branches found
No related tags found
No related merge requests found
...@@ -88,8 +88,6 @@ Window { ...@@ -88,8 +88,6 @@ Window {
accountID = accountsToMigrateListModel.data(accountsToMigrateListModel.index( accountID = accountsToMigrateListModel.data(accountsToMigrateListModel.index(
0, 0), AccountsToMigrateListModel.Account_ID) 0, 0), AccountsToMigrateListModel.Account_ID)
avatarImg.updateImage(accountID)
connectionMigrationEnded.enabled = false connectionMigrationEnded.enabled = false
migrationPushButton.enabled = false migrationPushButton.enabled = false
stackedWidget.currentIndex = 0 stackedWidget.currentIndex = 0
...@@ -284,11 +282,10 @@ Window { ...@@ -284,11 +282,10 @@ Window {
color: "transparent" color: "transparent"
Avatar { Avatar {
id: avatarImg
anchors.fill: parent anchors.fill: parent
showPresenceIndicator: false showPresenceIndicator: false
mode: Avatar.Mode.Account mode: Avatar.Mode.Account
imageId: accountID
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment