Homec4science

Don't show the DarkConsole preference if is false in the config

Authored by Andrei Antonescu <aba@fb.com> on Feb 22 2013, 15:16.

Description

Don't show the DarkConsole preference if is false in the config

Summary: D4549 added a preference option for DarkConsole, but we should only show it if darkconsole.enabled is true. In most installs DarkConsole is not enabled, so now we check before showing it in the display settings so it's not confusing for users.

Test Plan: tested on localhost, when we change the darkconsole.enabled value in ENV the option is not displayed.

Reviewers: epriestley

Reviewed By: epriestley

CC: irinav, aran, Korvin

Differential Revision: https://secure.phabricator.com/D5069

Details

Committed
epriestley <git@epriestley.com>Feb 22 2013, 15:16
Pushed
aubortJan 31 2017, 17:16
Parents
rPH222b25f3a2b6: Allow CCs to be specified and edited for mocks
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH83e4e1ce7f13: Don't show the DarkConsole preference if is false in the config (authored by Andrei Antonescu <aba@fb.com>).Feb 22 2013, 15:16