Comments update

This commit is contained in:
Sumanth Nadigadda 2021-06-28 22:39:22 +05:30
parent e79c159138
commit ada936eff6

View File

@ -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
}