Skip to content

Commit

Permalink
fix sleep after playlist not toggling nightmode (#336)
Browse files Browse the repository at this point in the history
Wrong property was passed to the sleep handler.
Fix copy & paste error
  • Loading branch information
dneukirchen committed Sep 16, 2024
1 parent 856445d commit 9214a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void Cmd_Action(const uint16_t mod) {
gPlayProperties.playUntilTrackNumber = 0;
gPlayProperties.sleepAfterPlaylist = !gPlayProperties.sleepAfterPlaylist;

Cmd_HandleSleepAction(gPlayProperties.sleepAfterCurrentTrack, modificatorSleepAtEOP, "EOP");
Cmd_HandleSleepAction(gPlayProperties.sleepAfterPlaylist, modificatorSleepAtEOP, "EOP");
System_IndicateOk();
break;
}
Expand Down

0 comments on commit 9214a49

Please sign in to comment.