fixed if statement syntax

This commit is contained in:
hstephens 2023-05-12 20:19:18 -06:00
parent a3794a6a6a
commit 65b69cc020

View file

@ -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}")
}
}