Skip to content

Commit

Permalink
fix sleep after playlist not toggling nightmode
Browse files Browse the repository at this point in the history
Wrong property was passed to the sleep handler.
  • Loading branch information
dneukirchen committed Sep 13, 2024
1 parent 856445d commit c49b5c0
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 c49b5c0

Please sign in to comment.