mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Stories
This commit is contained in:
@@ -424,8 +424,11 @@ public final class ChatChannelSubscriberInputPanelNode: ChatInputPanelNode {
|
||||
let (title, _) = titleAndColorForAction(action, theme: interfaceState.theme, strings: interfaceState.strings)
|
||||
|
||||
var isAccent = false
|
||||
if case .join = self.action {
|
||||
switch self.action {
|
||||
case .join, .joinGroup, .applyToJoin:
|
||||
isAccent = true
|
||||
default:
|
||||
break
|
||||
}
|
||||
centerAction = (title, isAccent)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user