mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix legacy group type selection control
This commit is contained in:
parent
f529ec0793
commit
446e5a5a86
1 changed files with 2 additions and 2 deletions
|
|
@ -615,7 +615,7 @@ private func channelVisibilityControllerEntries(presentationData: PresentationDa
|
|||
}
|
||||
} else if let _ = view.peers[view.peerId] as? TelegramGroup {
|
||||
switch mode {
|
||||
case .privateLink, .generic:
|
||||
case .privateLink:
|
||||
let link = (view.cachedData as? CachedGroupData)?.exportedInvitation?.link
|
||||
let text: String
|
||||
if let link = link {
|
||||
|
|
@ -640,7 +640,7 @@ private func channelVisibilityControllerEntries(presentationData: PresentationDa
|
|||
if let current = state.selectedType {
|
||||
selectedType = current
|
||||
} else {
|
||||
selectedType = .publicChannel
|
||||
selectedType = .privateChannel
|
||||
}
|
||||
|
||||
let currentAddressName: String
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue