Fix build

This commit is contained in:
Ilya Laktyushin
2022-10-19 02:40:20 +03:00
parent e85b6cac30
commit ae2b70c6e6
2 changed files with 2 additions and 2 deletions

View File

@@ -1150,7 +1150,7 @@ final class ChatMessageInteractiveFileNode: ASDisplayNode {
let audioTranscriptionButtonSize = audioTranscriptionButton.update(
transition: animation.isAnimated ? .easeInOut(duration: 0.3) : .immediate,
component: AnyComponent(AudioTranscriptionButtonComponent(
theme: arguments.incoming ? arguments.presentationData.theme.theme.chat.message.incoming : arguments.presentationData.theme.theme.chat.message.outgoing,
theme: .bubble(arguments.incoming ? arguments.presentationData.theme.theme.chat.message.incoming : arguments.presentationData.theme.theme.chat.message.outgoing),
transcriptionState: effectiveAudioTranscriptionState,
pressed: {
guard let strongSelf = self else {