mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 13:35:19 +00:00
Fix folder preview button
This commit is contained in:
parent
e66f240918
commit
09a60ba5df
@ -936,7 +936,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