summaryrefslogtreecommitdiff
path: root/elm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-12-20 14:44:30 +0100
committerYorhel <git@yorhel.nl>2019-12-20 14:44:43 +0100
commite3c79e9cf014208af25259683b4488f00638f101 (patch)
tree8889c926850fcdaa4db88b0ca82c10bfb0548c41 /elm
parent022431c32299aeb359fbdd54ab40e2ef900ee0ef (diff)
ulist: Remove deprecated hide_list user preference
Old VNDB::* code still uses that preference in a few places, that needs to be fixed.
Diffstat (limited to 'elm')
-rw-r--r--elm/User/Edit.elm8
1 files changed, 0 insertions, 8 deletions
diff --git a/elm/User/Edit.elm b/elm/User/Edit.elm
index 47d7d1cb..121e283a 100644
--- a/elm/User/Edit.elm
+++ b/elm/User/Edit.elm
@@ -52,7 +52,6 @@ type Data
| EMail String
| Perm Int Bool
| IgnVotes Bool
- | HideList Bool
| ShowNsfw Bool
| TraitsSexual Bool
| Spoilers Int
@@ -76,7 +75,6 @@ updateData msg model =
EMail n -> { model | email = n }
Perm n b -> { model | perm = if b then or model.perm n else and model.perm (complement n) }
IgnVotes n -> { model | ign_votes = n }
- HideList b -> { model | hide_list = b }
ShowNsfw b -> { model | show_nsfw = b }
TraitsSexual b -> { model | traits_sexual = b }
Spoilers n -> { model | spoilers = n }
@@ -189,12 +187,6 @@ view model =
] ++ (if model.cpass then passform else [])
++
[ tr [ class "newpart" ] [ td [ colspan 2 ] [ text "Preferences" ] ]
- , formField "Privacy"
- [ label []
- [ inputCheck "" data.hide_list (Set << HideList)
- , text " Don't allow others to see my visual novel list, vote list and wishlist and exclude these lists from the database dumps and API."
- ]
- ]
, formField "NSFW" [ label [] [ inputCheck "" data.show_nsfw (Set << ShowNsfw), text " Show NSFW images by default" ] ]
, formField "" [ label [] [ inputCheck "" data.traits_sexual (Set << TraitsSexual), text " Show sexual traits by default on character pages" ] ]
, formField "Tags" [ label [] [ inputCheck "" data.tags_all (Set << TagsAll), text " Show all tags by default on visual novel pages (don't summarize)" ] ]