Xcode project sync and seek async fix
All checks were successful
CI / build-and-deploy (push) Successful in 23s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Krishna Kumar
2026-05-22 16:59:22 -05:00
parent 38fd37bee8
commit 38cd72416c
2 changed files with 9 additions and 1 deletions

View File

@@ -146,7 +146,7 @@ final class PodcastPlayerViewModel {
// Restore saved position
let saved = PodcastProgress.get(url: currentArticleUrl)
if saved > 10 {
p.seek(to: CMTime(seconds: saved, preferredTimescale: 600))
await p.seek(to: CMTime(seconds: saved, preferredTimescale: 600))
currentTime = saved
}
updateNowPlaying()