Video avatar fixes

This commit is contained in:
Ilya Laktyushin
2020-07-09 00:26:16 +03:00
parent 5795542022
commit c4229494e8
10 changed files with 3308 additions and 3259 deletions

View File

@@ -707,7 +707,7 @@ public class AvatarGalleryController: ViewController, StandalonePresentableContr
})
}))
if let position = rawEntry.indexData?.position, position > 0 {
if self.peer.id == self.context.account.peerId, let position = rawEntry.indexData?.position, position > 0 {
let title: String
if let _ = rawEntry.videoRepresentations.last {
title = self.presentationData.strings.ProfilePhoto_SetMainVideo