Remove unused viewmode

This commit is contained in:
Eike Kettner
2020-09-13 17:23:13 +02:00
parent 7c245ab0da
commit 913bfb611c
3 changed files with 3 additions and 19 deletions

View File

@ -81,13 +81,8 @@ view flags settings model =
]
]
[ viewSearchBar flags model
, case model.viewMode of
Listing ->
Html.map ItemCardListMsg
(Comp.ItemCardList.view settings model.itemListModel)
Detail ->
div [] []
, Html.map ItemCardListMsg
(Comp.ItemCardList.view settings model.itemListModel)
]
, div
[ classList