Video avatar improvements

This commit is contained in:
Ilya Laktyushin
2020-06-20 03:13:03 +03:00
parent 48322ade2c
commit 473c6255bd
12 changed files with 262 additions and 86 deletions

View File

@@ -1013,7 +1013,7 @@ public func settingsController(context: AccountContext, accountManager: AccountM
})
hiddenAvatarRepresentationDisposable.set((galleryController.hiddenMedia |> deliverOnMainQueue).start(next: { entry in
avatarAndNameInfoContext.hiddenAvatarRepresentation = entry?.representations.first?.representation
avatarAndNameInfoContext.hiddenAvatarRepresentation = entry?.representations.last?.representation
updateHiddenAvatarImpl?()
}))
presentControllerImpl?(galleryController, AvatarGalleryControllerPresentationArguments(transitionArguments: { entry in