Update non-premium tags

This commit is contained in:
Isaac
2024-01-29 22:39:17 +01:00
parent 27c5ca7474
commit 4b91f1fc29
3 changed files with 129 additions and 100 deletions

View File

@@ -27,6 +27,11 @@ func titlePanelForChatPresentationInterfaceState(_ chatPresentationInterfaceStat
}
}
}
if case .standard(.embedded) = chatPresentationInterfaceState.mode {
if !chatPresentationInterfaceState.isPremium {
matches = false
}
}
if matches {
if let currentPanel = currentPanel as? ChatSearchTitleAccessoryPanelNode {