This commit is contained in:
Ali
2023-07-14 20:49:24 +04:00
parent aab73d6aeb
commit f305edfb17
21 changed files with 377 additions and 184 deletions

View File

@@ -325,6 +325,8 @@ public func storageUsageExceptionsScreen(
filter.insert(.excludeSecretChats)
case .channels:
filter.insert(.onlyChannels)
case .stories:
filter.insert(.onlyPrivateChats)
}
let controller = context.sharedContext.makePeerSelectionController(PeerSelectionControllerParams(context: context, filter: filter, hasContactSelector: false, title: presentationData.strings.Notifications_AddExceptionTitle))
controller.peerSelected = { [weak controller] peer, _ in