[Bug]: Sleep Timer modal defaults to "Custom Time" only during first access after app start #978

Closed
opened 2026-04-24 23:44:42 +02:00 by adam · 2 comments
Owner

Originally created by @nichwall on GitHub (Jun 5, 2024).

What was the Problem?

The sleep timer in the mobile app defaults to "Custom Time" mode the first time the modal is opened after the app has been opened. After the sleep timer modal has been closed (either using back button or clicking out of modal) the Sleep Timer modal will default to the preset time view until the app is restarted.

Looks like this is due to https://github.com/advplyr/audiobookshelf-app/commit/8201f3c9a6c93d3a82c9345a2ee1def14eebf27f defaulting to true instead of false.

Steps to Reproduce the Issue

  1. Open ABS app after having app completely closed
  2. Press sleep timer (observe sleep timer defaults to 1 minute of "custom time")
  3. Press back button or click out of modal to close
  4. Press sleep timer (observe defaults to "preset time" list until app is completely closed again)

What was Expected?

Sleep timer should default to "preset list" every time.

Phone Model

Pixel 6a

Phone OS

Android 14, stock

Audiobookshelf App Version

Android App - 0.9.74

Installation Source

Google Play Store

Additional Notes

No response

Originally created by @nichwall on GitHub (Jun 5, 2024). ### What was the Problem? The sleep timer in the mobile app defaults to "Custom Time" mode the first time the modal is opened after the app has been opened. After the sleep timer modal has been closed (either using back button or clicking out of modal) the Sleep Timer modal will default to the preset time view until the app is restarted. Looks like this is due to https://github.com/advplyr/audiobookshelf-app/commit/8201f3c9a6c93d3a82c9345a2ee1def14eebf27f defaulting to `true` instead of `false`. ### Steps to Reproduce the Issue 1. Open ABS app after having app completely closed 2. Press sleep timer (observe sleep timer defaults to 1 minute of "custom time") 3. Press back button or click out of modal to close 4. Press sleep timer (observe defaults to "preset time" list until app is completely closed again) ### What was Expected? Sleep timer should default to "preset list" every time. ### Phone Model Pixel 6a ### Phone OS Android 14, stock ### Audiobookshelf App Version Android App - 0.9.74 ### Installation Source Google Play Store ### Additional Notes _No response_
adam added the bug label 2026-04-24 23:44:42 +02:00
adam closed this issue 2026-04-24 23:44:42 +02:00
Author
Owner

@m0veax commented on GitHub (Jul 1, 2024):

It is the same on iOS

Version 0.97.4-Beta
iOS 17.5.1
iPhone 13

If I can provide any more infos, let me know

EDIT:

Sry, just saw the fix commit. Sry for making this issue noisy.

Thanks for your work, really enjoy your software

@m0veax commented on GitHub (Jul 1, 2024): It is the same on iOS Version 0.97.4-Beta iOS 17.5.1 iPhone 13 If I can provide any more infos, let me know EDIT: Sry, just saw the fix commit. Sry for making this issue noisy. Thanks for your work, really enjoy your software
Author
Owner

@github-actions[bot] commented on GitHub (Aug 13, 2024):

Fixed in v0.9.75-beta.

@github-actions[bot] commented on GitHub (Aug 13, 2024): Fixed in [v0.9.75-beta](https://github.com/advplyr/audiobookshelf-app/releases/tag/v0.9.75-beta).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#978