mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Refactoring
This commit is contained in:
@@ -120,7 +120,7 @@ public class VoiceChatPeerActionSheetItemNode: ActionSheetItemNode {
|
||||
self.subtitleNode.attributedText = NSAttributedString(string: item.subtitle, font: subtitleFont, textColor: self.theme.secondaryTextColor)
|
||||
|
||||
let theme = item.context.sharedContext.currentPresentationData.with { $0 }.theme
|
||||
self.avatarNode.setPeer(context: item.context, theme: theme, peer: item.peer)
|
||||
self.avatarNode.setPeer(context: item.context, theme: theme, peer: EnginePeer(item.peer))
|
||||
|
||||
self.accessibilityArea.accessibilityTraits = [.button]
|
||||
self.accessibilityArea.accessibilityLabel = item.title
|
||||
|
||||
Reference in New Issue
Block a user