fix linter error

This commit is contained in:
Siyuan 2025-10-09 12:04:54 +00:00
parent be876e154c
commit 3a92b6ad5a
1 changed files with 1 additions and 4 deletions

View File

@ -17,10 +17,7 @@ type VideoState struct {
func isSleepModeSupported() bool {
_, err := os.Stat(sleepModeFile)
if err != nil {
return false
}
return true
return err == nil
}
func (n *Native) setSleepMode(enabled bool) error {