diff --git a/submodules/TelegramUI/Sources/PeerInfo/PeerInfoScreen.swift b/submodules/TelegramUI/Sources/PeerInfo/PeerInfoScreen.swift index 98e118f460..38aab65897 100644 --- a/submodules/TelegramUI/Sources/PeerInfo/PeerInfoScreen.swift +++ b/submodules/TelegramUI/Sources/PeerInfo/PeerInfoScreen.swift @@ -5749,8 +5749,8 @@ final class PeerInfoScreenNode: ViewControllerTracingNode, UIScrollViewDelegate actionSheet.setItemGroups([ ActionSheetItemGroup(items: [ - ActionSheetTextItem(title: title), - ActionSheetButtonItem(title: text, color: .destructive, action: { + ActionSheetTextItem(title: text), + ActionSheetButtonItem(title: title, color: .destructive, action: { dismissAction() self?.deletePeerChat(peer: peer._asPeer(), globally: true) }),