mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-29 14:47:21 +02:00
fixed if statement syntax
This commit is contained in:
@@ -366,8 +366,9 @@ class SleepTimerManager constructor(private val playerNotificationService: Playe
|
|||||||
setSleepTimer(deviceSettings.sleepTimerLength, false)
|
setSleepTimer(deviceSettings.sleepTimerLength, false)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if !isFirstAutoSleepTimer:
|
if (!isFirstAutoSleepTimer) {
|
||||||
isFirstAutoSleepTimer = true
|
isFirstAutoSleepTimer = true
|
||||||
|
}
|
||||||
Log.d(tag, "Current hour $currentHour is NOT between ${deviceSettings.autoSleepTimerStartTime} and ${deviceSettings.autoSleepTimerEndTime}")
|
Log.d(tag, "Current hour $currentHour is NOT between ${deviceSettings.autoSleepTimerStartTime} and ${deviceSettings.autoSleepTimerEndTime}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user