Skip to content

Commit 50a75b5

Browse files
committed
Reflect changed isMuted encoding
1 parent 88a305f commit 50a75b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Main.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ volumeTask =
170170
isMuted <- true <|> false
171171
return $ Volume volume isMuted
172172
true :: Parser Bool
173-
true = chunk "true" $> True
173+
true = chunk "1" $> True
174174
false :: Parser Bool
175-
false = chunk "false" $> False
175+
false = chunk "0" $> False
176176

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

0 commit comments

Comments
 (0)