Move Recent Actions to profile screen

This commit is contained in:
Ilya Laktyushin
2023-04-18 12:49:43 +04:00
parent 64b7c1058b
commit 4069dc467a
2 changed files with 32 additions and 8 deletions

View File

@@ -349,7 +349,7 @@ private func channelAdminsControllerEntries(presentationData: PresentationData,
if case .group = peer.info {
isGroup = true
}
entries.append(.recentActions(presentationData.theme, presentationData.strings.Group_Info_AdminLog))
//entries.append(.recentActions(presentationData.theme, presentationData.strings.Group_Info_AdminLog))
if isGroup && peer.hasPermission(.deleteAllMessages) && (antiSpamAvailable || antiSpamEnabled) {
entries.append(.antiSpam(presentationData.theme, presentationData.strings.Group_Management_AntiSpam, antiSpamEnabled))