Fix build

This commit is contained in:
Ali 2022-04-08 00:36:33 +04:00
parent 116472e2cf
commit 5528e6bd95

View File

@ -692,6 +692,7 @@ func contextMenuForChatPresentationInterfaceState(chatPresentationInterfaceState
}
if !isAlreadyAdded {
let presentationData = context.sharedContext.currentPresentationData.with { $0 }
actions.append(.action(ContextMenuActionItem(text: presentationData.strings.Chat_SaveForNotifications, icon: { theme in
return generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/DownloadTone"), color: theme.actionSheet.primaryTextColor)
}, action: { _, f in