mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-22 13:34:44 +00:00
Fix folder preview button
This commit is contained in:
parent
980b235c73
commit
cb1f40de1a
@ -935,7 +935,7 @@ private final class ChatFolderLinkPreviewScreenComponent: Component {
|
||||
} else if let linkContents = component.linkContents {
|
||||
actionButtonBadge = max(0, self.selectedItems.count - (linkContents.peers.count - canAddChatCount))
|
||||
if linkContents.localFilterId != nil {
|
||||
if self.selectedItems.isEmpty {
|
||||
if actionButtonBadge == 0 {
|
||||
actionButtonTitle = environment.strings.FolderLinkPreview_ButtonDoNotJoinChats
|
||||
} else {
|
||||
actionButtonTitle = environment.strings.FolderLinkPreview_ButtonJoinChats
|
||||
|
Loading…
x
Reference in New Issue
Block a user