Various fixes

This commit is contained in:
Ilya Laktyushin
2022-08-16 15:03:27 +03:00
parent 4982c780a2
commit 8f9f7185af
7 changed files with 32 additions and 9 deletions

View File

@@ -109,6 +109,7 @@ class ChatMessageShareButton: HighlightableButtonNode {
var updatedIconOffset = CGPoint()
if case .pinnedMessages = subject {
updatedIconImage = PresentationResourcesChat.chatFreeNavigateButtonIcon(presentationData.theme.theme, wallpaper: presentationData.theme.wallpaper)
updatedIconOffset = CGPoint(x: UIScreenPixel, y: 1.0)
} else if isReplies {
updatedIconImage = PresentationResourcesChat.chatFreeCommentButtonIcon(presentationData.theme.theme, wallpaper: presentationData.theme.wallpaper)
} else if message.id.peerId.isRepliesOrSavedMessages(accountPeerId: account.peerId) {