Fix iOS deprecation warnings
This commit is contained in:
@@ -73,7 +73,9 @@ enum LiveActivityManager {
|
||||
currentStartDate = nil
|
||||
start(attributes: attributes, state: state)
|
||||
} else {
|
||||
Task { await current.update(using: state) }
|
||||
Task {
|
||||
await current.update(.init(state: state, staleDate: nil))
|
||||
}
|
||||
}
|
||||
} else {
|
||||
start(attributes: attributes, state: state)
|
||||
|
||||
Reference in New Issue
Block a user