mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-29 16:08:22 +01:00
When a user enables/disables DarkConsole, forget their console UI visibility setting
Summary: Ref T4103. This primarily makes sure the console gets turned on when you enable it so you aren't like "where's the console???" Test Plan: Enabled console, saw console. Reviewers: chad Reviewed By: chad Maniphest Tasks: T4103 Differential Revision: https://secure.phabricator.com/D16030
This commit is contained in:
parent
109917a94b
commit
804e7a6e06
1 changed files with 12 additions and 0 deletions
|
@ -42,5 +42,17 @@ final class PhabricatorDarkConsoleSetting
|
|||
);
|
||||
}
|
||||
|
||||
public function expandSettingTransaction($object, $xaction) {
|
||||
// If the user has hidden the DarkConsole UI, forget their setting when
|
||||
// they enable or disable it.
|
||||
return array(
|
||||
$xaction,
|
||||
$this->newSettingTransaction(
|
||||
$object,
|
||||
PhabricatorDarkConsoleVisibleSetting::SETTINGKEY,
|
||||
1),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue