Move FontIcon calls to Icon
Summary: Normalizes all `setFontIcon` calls to `setIcon`. Test Plan: UIExamples, Almanac, Apps list, etc. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, hach-que, yelirekim Differential Revision: https://secure.phabricator.com/D15129
This commit is contained in:
@@ -14,7 +14,7 @@ final class PhabricatorSpacesApplication extends PhabricatorApplication {
|
||||
return pht('Policy Namespaces');
|
||||
}
|
||||
|
||||
public function getFontIcon() {
|
||||
public function getIcon() {
|
||||
return 'fa-th-large';
|
||||
}
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ final class PhabricatorSpacesNamespaceSearchEngine
|
||||
->setHref('/spaces/create/')
|
||||
->setColor(PHUIButtonView::GREEN);
|
||||
|
||||
$icon = $this->getApplication()->getFontIcon();
|
||||
$icon = $this->getApplication()->getIcon();
|
||||
$app_name = $this->getApplication()->getName();
|
||||
$view = id(new PHUIBigInfoView())
|
||||
->setIcon($icon)
|
||||
|
||||
Reference in New Issue
Block a user