mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-07-27 23:18:34 +02:00
[PR #887] [MERGED] Adding a check so chapter sleep timer is set after resume only when a… #1473
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/advplyr/audiobookshelf-app/pull/887
Author: @atoghyani
Created: 9/27/2023
Status: ✅ Merged
Merged: 11/12/2023
Merged by: @advplyr
Base:
master← Head:ios-sleep-timer-reset-after-resume📝 Commits (1)
2eb399bAdding a check so chapter sleep timer is set after resume only when a chapter sleep timer was set before📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
ios/App/Shared/player/AudioPlayerSleepTimer.swift(+3 -2)📄 Description
The conditions makes it so the
setChapterSleepTimeronly runs if a chapter sleep timer has been set, the method removes any timers before setting a chapter sleep timer, which causes regular sleep timers to be removed causing #477 .🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.