- custom poll emoji input

- avatars in forward info
- ban user sheet
This commit is contained in:
Isaac
2024-04-16 23:42:39 +04:00
parent a9c8ae8595
commit 5123b841c3
39 changed files with 4240 additions and 789 deletions

View File

@@ -770,11 +770,11 @@ final class ChatbotSetupScreenComponent: Component {
maximumNumberOfLines: 1
))),
], alignment: .left, spacing: 2.0)),
leftIcon: AnyComponentWithIdentity(id: 0, component: AnyComponent(Image(
leftIcon: .custom(AnyComponentWithIdentity(id: 0, component: AnyComponent(Image(
image: checkIcon,
tintColor: !self.hasAccessToAllChatsByDefault ? .clear : environment.theme.list.itemAccentColor,
contentMode: .center
))),
)))),
accessory: nil,
action: { [weak self] _ in
guard let self else {
@@ -800,11 +800,11 @@ final class ChatbotSetupScreenComponent: Component {
maximumNumberOfLines: 1
))),
], alignment: .left, spacing: 2.0)),
leftIcon: AnyComponentWithIdentity(id: 0, component: AnyComponent(Image(
leftIcon: .custom(AnyComponentWithIdentity(id: 0, component: AnyComponent(Image(
image: checkIcon,
tintColor: self.hasAccessToAllChatsByDefault ? .clear : environment.theme.list.itemAccentColor,
contentMode: .center
))),
)))),
accessory: nil,
action: { [weak self] _ in
guard let self else {