Story reporting

This commit is contained in:
Ilya Laktyushin
2023-06-22 07:44:24 +04:00
parent 53aa40353a
commit 3ec2d62783
20 changed files with 394 additions and 88 deletions

View File

@@ -2515,7 +2515,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
let isMuted = notificationSettings.storiesMuted == true
items.append(.action(ContextMenuActionItem(text: isMuted ? "Notify" : "Not Notify", icon: { theme in
return generateTintedImage(image: UIImage(bundleImageName: isMuted ? "Chat/Context Menu/Muted": "Chat/Context Menu/Unmute"), color: theme.contextMenu.primaryColor)
return generateTintedImage(image: UIImage(bundleImageName: isMuted ? "Chat/Context Menu/Unmute" : "Chat/Context Menu/Muted"), color: theme.contextMenu.primaryColor)
}, action: { [weak self] _, f in
f(.default)