mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 01:54:33 +02:00
fixed if statement syntax
This commit is contained in:
parent
a3794a6a6a
commit
65b69cc020
1 changed files with 2 additions and 1 deletions
|
@ -366,8 +366,9 @@ class SleepTimerManager constructor(private val playerNotificationService: Playe
|
|||
setSleepTimer(deviceSettings.sleepTimerLength, false)
|
||||
}
|
||||
} else {
|
||||
if !isFirstAutoSleepTimer:
|
||||
if (!isFirstAutoSleepTimer) {
|
||||
isFirstAutoSleepTimer = true
|
||||
}
|
||||
Log.d(tag, "Current hour $currentHour is NOT between ${deviceSettings.autoSleepTimerStartTime} and ${deviceSettings.autoSleepTimerEndTime}")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue