mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 22:56:57 +02:00
Should avoid flickerings while updating the oneself avatar
This commit is contained in:
@@ -307,6 +307,9 @@ NSString* const kCommandsDescriptionText = @"The following commands are availabl
|
||||
} else {
|
||||
[mxHandler.mxSession.myUser setAvatarUrl:uploadedPictureURL
|
||||
success:^{
|
||||
// uploadedPictureURL becomes the uploaded picture
|
||||
currentPictureURL = uploadedPictureURL;
|
||||
// manage the nil case.
|
||||
[self updateUserPicture:uploadedPictureURL];
|
||||
uploadedPictureURL = nil;
|
||||
[_activityIndicator stopAnimating];
|
||||
|
||||
Reference in New Issue
Block a user