Skip to content

Commit

Permalink
Reflect changed isMuted encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
bkase committed Dec 24, 2019
1 parent 88a305f commit 50a75b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ volumeTask =
isMuted <- true <|> false
return $ Volume volume isMuted
true :: Parser Bool
true = chunk "true" $> True
true = chunk "1" $> True
false :: Parser Bool
false = chunk "false" $> False
false = chunk "0" $> False

-- TODO: Make the int more composable or something
runTask :: (MonadIO m, MonadShell m) => Task o -> m o
Expand Down

0 comments on commit 50a75b5

Please sign in to comment.