Merge commit '1fe96da125f4aea649f34d96fe3650850317951e'

This commit is contained in:
Ali
2021-02-15 20:05:33 +04:00
12 changed files with 755 additions and 680 deletions

View File

@@ -7104,7 +7104,8 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
let _ = (convertGroupToGigagroup(account: context.account, peerId: peerId)
|> deliverOnMainQueue).start(completed: {
let participantsLimit = context.currentLimitsConfiguration.with { $0 }.maxSupergroupMemberCount
strongSelf.present(UndoOverlayController(presentationData: presentationData, content: .succeed(text: presentationData.strings.BroadcastGroups_Success(presentationStringsFormattedNumber(participantsLimit, presentationData.dateTimeFormat.decimalSeparator)).0), elevatedLayout: false, action: { _ in return false }), in: .current)
})
})])
strongSelf.present(alertController, in: .window(.root))