Put number of folders to display in ui settings

This commit is contained in:
Eike Kettner
2020-08-08 00:06:23 +02:00
parent 873d9fafc3
commit c8ad9bf11f
3 changed files with 46 additions and 5 deletions

View File

@ -57,13 +57,12 @@ fromString str =
filter : (a -> Bool) -> Maybe a -> Maybe a
filter predicate ma =
case ma of
Just v ->
let
check v =
if predicate v then
Just v
else
Nothing
Nothing ->
Nothing
in
Maybe.andThen check ma