From bb738b0a65e06e6ddcfe0c6662efbe766a956fd5 Mon Sep 17 00:00:00 2001 From: Mauro Romito Date: Wed, 17 Jan 2024 09:56:28 +0100 Subject: [PATCH] fix for crashing when dictation ends --- .../Components/WysiwygComposerView/WysiwygTextView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/ios/lib/WysiwygComposer/Sources/WysiwygComposer/Components/WysiwygComposerView/WysiwygTextView.swift b/platforms/ios/lib/WysiwygComposer/Sources/WysiwygComposer/Components/WysiwygComposerView/WysiwygTextView.swift index 733134b4c..fa284ec13 100644 --- a/platforms/ios/lib/WysiwygComposer/Sources/WysiwygComposer/Components/WysiwygComposerView/WysiwygTextView.swift +++ b/platforms/ios/lib/WysiwygComposer/Sources/WysiwygComposer/Components/WysiwygComposerView/WysiwygTextView.swift @@ -72,12 +72,12 @@ public class WysiwygTextView: UITextView { } override public func dictationRecordingDidEnd() { - super.dictationRecordingDidEnd() + // Do not call super, this is an optional objc protocol isDictationRunning = false } override public func dictationRecognitionFailed() { - super.dictationRecognitionFailed() + // Do not call super this is an optional objc protocol isDictationRunning = false }