mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-11-27 18:52:45 +01:00
If adjusting sleep time from chapter, convert to regular sleep timer
This commit is contained in:
1 parent
d57fe44bcc
commit
ccecba7a19
1 file changed
+2
@@ -101,10 +101,12 @@ class PlayerHandler {
|
||||
}
|
||||
|
||||
public static func increaseSleepTime(increaseSeconds: Double) {
|
||||
self.sleepTimerChapterStopTime = nil
|
||||
self.player?.increaseSleepTime(extraTimeInSeconds: increaseSeconds)
|
||||
}
|
||||
|
||||
public static func decreaseSleepTime(decreaseSeconds: Double) {
|
||||
self.sleepTimerChapterStopTime = nil
|
||||
self.player?.decreaseSleepTime(removeTimeInSeconds: decreaseSeconds)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user