Update:iOS remove paused timer that synced with the server when current media was paused

This commit is contained in:
advplyr
2023-11-12 13:49:20 -06:00
parent ad5146e2ee
commit a7cbdbfbbb
3 changed files with 5 additions and 36 deletions
+4 -2
View File
@@ -236,8 +236,10 @@ class ApiClient {
if (success) {
// Remove sessions from db
try playbackSessions.forEach { session in
if let session = session.thaw() {
try session.delete()
if (!session.isActiveSession) {
if let session = session.thaw() {
try session.delete()
}
}
}
}