Comments update
This commit is contained in:
parent
e79c159138
commit
ada936eff6
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user