Video avatar fixes

This commit is contained in:
Ilya Laktyushin
2020-06-27 04:12:09 +03:00
parent fd897989eb
commit 05141a7ec4
4 changed files with 64 additions and 29 deletions

View File

@@ -1415,7 +1415,7 @@ public func settingsController(context: AccountContext, accountManager: AccountM
if let profileImage = peer?.smallProfileImage {
state.updatingAvatar = .image(profileImage, false)
} else {
state.updatingAvatar = .none
state.updatingAvatar = ItemListAvatarAndNameInfoItemUpdatingAvatar.none
}
return state
}