Skip to content
Snippets Groups Projects
Commit 7e3323bd authored by Florian Sesser's avatar Florian Sesser
Browse files

Turn Magic Folder delete icon into a button

... hoping this makes it easier to wire this up?
Plus it gives a nice hover animation (which one cannot see
on mobile I suppose)
parent 4adb9e76
No related branches found
No related tags found
1 merge request!67Refactor list view to be closer as to how they're intended
Pipeline #4978 failed
......@@ -157,8 +157,12 @@ folderWidget (MagicFolder name _state) = do
text "folder"
elAttr "span" ("class" =: "mdc-deprecated-list-item__text") $ do
text name
elAttr "span" ("class" =: "mdc-deprecated-list-item__meta material-icons") $
text "delete"
elAttr "span" ("class" =: "mdc-deprecated-list-item__meta") $
-- | Delete button. TODO: Wiring.
elAttr "button" ("class" =: "mdc-icon-button") $ do
divClass "mdc-icon-button__ripple" $ blank
elAttr "i" ("class" =: "material-icons") $ do
text "delete"
elClass "li" "mdc-deprecated-list-divider mdc-deprecated-list-divider--inset" $ blank
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment