diff options
Diffstat (limited to 'service/transport.go')
-rw-r--r-- | service/transport.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/service/transport.go b/service/transport.go index d89b854..0072f95 100644 --- a/service/transport.go +++ b/service/transport.go @@ -448,12 +448,14 @@ func NewHandler(s Service, staticDir string) http.Handler { threadInNewTab := req.FormValue("thread_in_new_tab") == "true" maskNSFW := req.FormValue("mask_nsfw") == "true" fluorideMode := req.FormValue("fluoride_mode") == "true" + darkMode := req.FormValue("dark_mode") == "true" settings := &model.Settings{ DefaultVisibility: visibility, CopyScope: copyScope, ThreadInNewTab: threadInNewTab, MaskNSFW: maskNSFW, FluorideMode: fluorideMode, + DarkMode: darkMode, } err := s.SaveSettings(ctx, w, nil, settings) |