mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Cleanup channel action sheet
This commit is contained in:
parent
ba2d454924
commit
58f04e725f
@ -7688,7 +7688,9 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
|
||||
], parseMarkdown: true), in: .window(.root))
|
||||
}))
|
||||
} else {
|
||||
items.append(ActionSheetTextItem(title: text))
|
||||
if !isClearCache {
|
||||
items.append(ActionSheetTextItem(title: text))
|
||||
}
|
||||
items.append(ActionSheetButtonItem(title: isClearCache ? self.presentationData.strings.Conversation_ClearCache : self.presentationData.strings.Conversation_ClearAll, color: isClearCache ? .accent : .destructive, action: { [weak self, weak actionSheet] in
|
||||
actionSheet?.dismissAnimated()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user