@hlfan commented on this pull request.


> @@ -13,7 +13,7 @@
      data[:token] = token.token
    end
    data[:locale] = ID::LOCALES.preferred(preferred_languages).to_s
-   data[:theme] = (preferred_color_scheme(:site) if 
preferred_color_scheme(:site) != "auto")
+   data[:theme] = (preferred_color_scheme(:editor) if 
preferred_color_scheme(:editor) != "auto") || (preferred_color_scheme(:site) if 
preferred_color_scheme(:site) != "auto")

What do you think of adding this to the preferred_color_scheme helper? (with 
tests)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6492#discussion_r2486203386
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6492/review/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to