diff --git a/MVMCoreUI/Behaviors/PlayAudioBehavior.swift b/MVMCoreUI/Behaviors/PlayAudioBehavior.swift index 4ba7aa9f..32dc9727 100644 --- a/MVMCoreUI/Behaviors/PlayAudioBehavior.swift +++ b/MVMCoreUI/Behaviors/PlayAudioBehavior.swift @@ -52,6 +52,7 @@ public class PagePlayAudioBehavior: PageCustomActionHandlerBehavior { // Either play or pause public func handleAction(type actionType: String?, information: [AnyHashable: Any]?, additionalData: [AnyHashable: Any]?) -> Bool { + guard actionType == "playAudio" else { return false } // TODO: Impose Activity Indicator. // Update the model. play -> pause OR pause -> play