fix: update image when switching account on login

Fixes: #1847
This commit is contained in:
Richard Ramos 2021-02-18 16:20:04 -04:00 committed by Iuri Matias
parent 6f11ee972a
commit 38eeaf111c
1 changed files with 2 additions and 1 deletions

View File

@ -38,9 +38,10 @@ QtObject:
result = self.account.identityImage.thumbnail result = self.account.identityImage.thumbnail
else: else:
result = ?.self.account.identicon result = ?.self.account.identicon
QtProperty[string] thumbnailImage: QtProperty[string] thumbnailImage:
read = thumbnailImage read = thumbnailImage
notify = identityImageChanged notify = accountChanged
proc largeImage*(self: AccountInfoView): string {.slot.} = proc largeImage*(self: AccountInfoView): string {.slot.} =
if (not self.account.identityImage.isNil): if (not self.account.identityImage.isNil):