We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e66f240 commit 09a60baCopy full SHA for 09a60ba
submodules/TelegramUI/Components/ChatFolderLinkPreviewScreen/Sources/ChatFolderLinkPreviewScreen.swift
@@ -936,7 +936,7 @@ private final class ChatFolderLinkPreviewScreenComponent: Component {
936
} else if let linkContents = component.linkContents {
937
actionButtonBadge = max(0, self.selectedItems.count - (linkContents.peers.count - canAddChatCount))
938
if linkContents.localFilterId != nil {
939
- if self.selectedItems.isEmpty {
+ if actionButtonBadge == 0 {
940
actionButtonTitle = environment.strings.FolderLinkPreview_ButtonDoNotJoinChats
941
} else {
942
actionButtonTitle = environment.strings.FolderLinkPreview_ButtonJoinChats
0 commit comments