1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +01:00

Don't force buttons to grey with PHUIInfoView

Summary: I'd like to use red buttons.

Test Plan: Set a button to red in InfoView, see red button.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D18352
This commit is contained in:
Chad Little 2017-08-07 13:34:00 +00:00 committed by chad
parent ca8ae2d4ca
commit fd3cb18fe4

View file

@ -95,7 +95,6 @@ final class PHUIInfoView extends AphrontTagView {
}
public function addButton(PHUIButtonView $button) {
$button->setColor(PHUIButtonView::GREY);
$this->buttons[] = $button;
return $this;
}