diff --git a/ios/LibNovel/LibNovel/Services/AudioPlayerService.swift b/ios/LibNovel/LibNovel/Services/AudioPlayerService.swift index ffcee16..bd7c7bd 100644 --- a/ios/LibNovel/LibNovel/Services/AudioPlayerService.swift +++ b/ios/LibNovel/LibNovel/Services/AudioPlayerService.swift @@ -400,6 +400,11 @@ final class AudioPlayerService: ObservableObject { audioURL = url status = .ready generationProgress = 100 + + // Update sleep timer start chapter if using chapter-based timer + if case .chapters = sleepTimer { + sleepTimerStartChapter = next + } generationTask = Task { await playURL(url) diff --git a/ios/LibNovel/LibNovel/Views/Player/PlayerViews.swift b/ios/LibNovel/LibNovel/Views/Player/PlayerViews.swift index 2a3062c..8735e7e 100644 --- a/ios/LibNovel/LibNovel/Views/Player/PlayerViews.swift +++ b/ios/LibNovel/LibNovel/Views/Player/PlayerViews.swift @@ -467,6 +467,7 @@ struct FullPlayerView: View { HStack(spacing: 0) { // AirPlay AirPlayButton() + .frame(width: 22, height: 22) .frame(maxWidth: .infinity) // Settings (Speed control)