From 40b770dde8d9cac208d6e8eacc74d1f010274100 Mon Sep 17 00:00:00 2001 From: Isaac <> Date: Wed, 4 Jun 2025 23:46:57 +0800 Subject: [PATCH] Hide demo layout --- submodules/TelegramUI/Sources/ChatControllerContentData.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI/Sources/ChatControllerContentData.swift b/submodules/TelegramUI/Sources/ChatControllerContentData.swift index 2072b4aa2f..8695f99b10 100644 --- a/submodules/TelegramUI/Sources/ChatControllerContentData.swift +++ b/submodules/TelegramUI/Sources/ChatControllerContentData.swift @@ -1461,7 +1461,7 @@ extension ChatControllerImpl { } var removePaidMessageFeeData: ChatPresentationInterfaceState.RemovePaidMessageFeeData? - if let peer = savedMessagesPeer?.peer, let channel = peerView.peers[peerView.peerId] as? TelegramChannel, let sendPaidMessageStars = channel.sendPaidMessageStars, channel.isMonoForum { + if !"".isEmpty, let peer = savedMessagesPeer?.peer, let channel = peerView.peers[peerView.peerId] as? TelegramChannel, let sendPaidMessageStars = channel.sendPaidMessageStars, channel.isMonoForum { if let linkedMonoforumId = channel.linkedMonoforumId, let mainChannel = peerView.peers[linkedMonoforumId] as? TelegramChannel, mainChannel.hasPermission(.sendSomething) { removePaidMessageFeeData = ChatPresentationInterfaceState.RemovePaidMessageFeeData( peer: peer,