mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Various improvements
This commit is contained in:
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,
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue