Various improvements

This commit is contained in:
Ilya Laktyushin
2023-08-28 17:22:49 +04:00
parent 7480c3c4f6
commit a280d5841d
6 changed files with 481 additions and 204 deletions

View File

@@ -2360,29 +2360,29 @@ final class StoryStickersContentView: UIView, EmojiCustomContentView {
})
)
),
// AnyComponentWithIdentity(
// id: "audio",
// component: AnyComponent(
// CameraButton(
// content: AnyComponentWithIdentity(
// id: "audio",
// component: AnyComponent(
// InteractiveStickerButtonContent(
// theme: theme,
// title: "AUDIO",
// iconName: "Media Editor/Audio",
// useOpaqueTheme: useOpaqueTheme,
// tintContainerView: self.tintContainerView
// )
// )
// ),
// action: { [weak self] in
// if let self {
// self.audioAction()
// }
// })
// )
// ),
AnyComponentWithIdentity(
id: "audio",
component: AnyComponent(
CameraButton(
content: AnyComponentWithIdentity(
id: "audio",
component: AnyComponent(
InteractiveStickerButtonContent(
theme: theme,
title: "AUDIO",
iconName: "Media Editor/Audio",
useOpaqueTheme: useOpaqueTheme,
tintContainerView: self.tintContainerView
)
)
),
action: { [weak self] in
if let self {
self.audioAction()
}
})
)
),
AnyComponentWithIdentity(
id: "reaction",
component: AnyComponent(