Various improvements

This commit is contained in:
Ilya Laktyushin
2026-04-26 01:22:29 +02:00
parent 53c2da81fe
commit adc0d5ba6e
2 changed files with 586 additions and 725 deletions
@@ -379,9 +379,7 @@ private final class AdminUserActionsContentComponent: Component {
func update(component: AdminUserActionsContentComponent, availableSize: CGSize, state: EmptyComponentState, environment: Environment<ViewControllerComponentContainer.Environment>, transition: ComponentTransition) -> CGSize {
let environment = environment[ViewControllerComponentContainer.Environment.self].value
let sideInset: CGFloat = 16.0
var contentHeight: CGFloat = 76.0
contentHeight += 15.0
var contentHeight: CGFloat = 76.0 + 15.0
let availableOptions = availableAdminUserActionOptionSections(
accountPeerId: component.context.account.peerId,