From ada936eff64f28e884a734c17f780a5331c32fff Mon Sep 17 00:00:00 2001 From: Sumanth Nadigadda Date: Mon, 28 Jun 2021 22:39:22 +0530 Subject: [PATCH] Comments update --- MVMCoreUI/Behaviors/PlayAudioBehavior.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MVMCoreUI/Behaviors/PlayAudioBehavior.swift b/MVMCoreUI/Behaviors/PlayAudioBehavior.swift index b555eb01..4775d131 100644 --- a/MVMCoreUI/Behaviors/PlayAudioBehavior.swift +++ b/MVMCoreUI/Behaviors/PlayAudioBehavior.swift @@ -53,7 +53,6 @@ public class PagePlayAudioBehavior: PageCustomActionHandlerBehavior { 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 if Self.activeAudioPlayerDelegate?.isPlaying ?? false { @@ -62,9 +61,6 @@ public class PagePlayAudioBehavior: PageCustomActionHandlerBehavior { } else { Self.activeAudioPlayerDelegate?.play() } - - // TODO: Tell Template to update this cell (needs to be built). Currently it updates all cells. - return true }