1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 10:12:41 +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) { public function addButton(PHUIButtonView $button) {
$button->setColor(PHUIButtonView::GREY);
$this->buttons[] = $button; $this->buttons[] = $button;
return $this; return $this;
} }