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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user