fixing bug where there were no times to observe

This commit is contained in:
talksik
2022-01-04 14:37:53 -08:00
parent 637d70e4ff
commit 06a83b21ed
@@ -358,13 +358,14 @@ extension InnerCircleViewModel {
}
if times.count > 0 {
// Add time observer. Observe boundary time changes on the main queue.
self.queuePlayer.addBoundaryTimeObserver(forTimes: times, queue: .main) { [weak self] in
// Update UI
self?.messagesListeningProgress += Float(Self.multiplier)
}
}
}
// func periodTimeObserver() {