better live activity cleanup

main
Laurent 3 years ago
parent 68ad65ff62
commit 04796d7181
  1. 3
      LeCountdown/Conductor.swift

@ -248,12 +248,11 @@ class Conductor: ObservableObject {
func cleanup() { func cleanup() {
self._cleanupCountdowns() self._cleanupCountdowns()
self.cleanupLiveActivities()
withAnimation { withAnimation {
self._cleanupLiveTimers() self._cleanupLiveTimers()
self._buildLiveTimers() self._buildLiveTimers()
} }
self.cleanupLiveActivities()
} }
fileprivate func _cleanupCountdowns() { fileprivate func _cleanupCountdowns() {

Loading…
Cancel
Save