08f5572 changed the behavior of sleep timer. The timer is reinitialized when after resume and so does the volume. For this, we have created a variable to store the initial volume value
The sleep timer isn’t paused when the user pauses, and the volume keeps decreasing during pause. These changes restore both volume and sleep timer to their initial values when play resumes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/1535
**Author:** [@ooii](https://github.com/ooii)
**Created:** 4/7/2025
**Status:** 🔄 Open
**Base:** `master` ← **Head:** `master`
---
### 📝 Commits (1)
- [`08f5572`](https://github.com/advplyr/audiobookshelf-app/commit/08f5572c298f3955773281a41df5077b11fe7996) changed the behavior of sleep timer. The timer is reinitialized when after resume and so does the volume. For this, we have created a variable to store the initial volume value
### 📊 Changes
**2 files changed** (+209 additions, -139 deletions)
<details>
<summary>View changed files</summary>
📝 `ios/App/Shared/player/AudioPlayer.swift` (+175 -107)
📝 `ios/App/Shared/player/AudioPlayerSleepTimer.swift` (+34 -32)
</details>
### 📄 Description
The sleep timer isn’t paused when the user pauses, and the volume keeps decreasing during pause. These changes restore both volume and sleep timer to their initial values when play resumes.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1535
Author: @ooii
Created: 4/7/2025
Status: 🔄 Open
Base:
master← Head:master📝 Commits (1)
08f5572changed the behavior of sleep timer. The timer is reinitialized when after resume and so does the volume. For this, we have created a variable to store the initial volume value📊 Changes
2 files changed (+209 additions, -139 deletions)
View changed files
📝
ios/App/Shared/player/AudioPlayer.swift(+175 -107)📝
ios/App/Shared/player/AudioPlayerSleepTimer.swift(+34 -32)📄 Description
The sleep timer isn’t paused when the user pauses, and the volume keeps decreasing during pause. These changes restore both volume and sleep timer to their initial values when play resumes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.