Skip to content

Commit aa357d4

Browse files
author
Isaac
committed
Remove post suggestions
1 parent 064ab69 commit aa357d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreen.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2214,9 +2214,9 @@ private func editingItems(data: PeerInfoScreenData?, boostStatus: ChannelBoostSt
22142214
}))
22152215

22162216
//TODO:localize
2217-
items[.peerSettings]!.append(PeerInfoScreenDisclosureItem(id: ItemPostSuggestionsSettings, label: .text("Off"), additionalBadgeLabel: presentationData.strings.Settings_New, text: "Post Suggestions", icon: UIImage(bundleImageName: "Chat/Info/PostSuggestionsIcon"), action: {
2217+
/*items[.peerSettings]!.append(PeerInfoScreenDisclosureItem(id: ItemPostSuggestionsSettings, label: .text("Off"), additionalBadgeLabel: presentationData.strings.Settings_New, text: "Post Suggestions", icon: UIImage(bundleImageName: "Chat/Info/PostSuggestionsIcon"), action: {
22182218
interaction.editingOpenPostSuggestionsSetup()
2219-
}))
2219+
}))*/
22202220
}
22212221

22222222
if isCreator || (channel.adminRights?.rights.contains(.canChangeInfo) == true) {

0 commit comments

Comments
 (0)