mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Remove unused appIcon
from PHUIListItemView
Summary: This is unused and there's no way to even set it. Pretty sure it died a while ago when we switched app icons to FontAwesome. Test Plan: Grepped for `appIcon`, found no related hits. Browsed some pages. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D15074
This commit is contained in:
parent
88e2929411
commit
7d1809f935
1 changed files with 1 additions and 8 deletions
|
@ -19,7 +19,6 @@ final class PHUIListItemView extends AphrontTagView {
|
|||
private $isExternal;
|
||||
private $key;
|
||||
private $icon;
|
||||
private $appIcon;
|
||||
private $selected;
|
||||
private $disabled;
|
||||
private $renderNameAsTooltip;
|
||||
|
@ -179,7 +178,7 @@ final class PHUIListItemView extends AphrontTagView {
|
|||
$classes[] = 'phui-list-item-view';
|
||||
$classes[] = 'phui-list-item-'.$this->type;
|
||||
|
||||
if ($this->icon || $this->appIcon) {
|
||||
if ($this->icon) {
|
||||
$classes[] = 'phui-list-item-has-icon';
|
||||
}
|
||||
|
||||
|
@ -279,12 +278,6 @@ final class PHUIListItemView extends AphrontTagView {
|
|||
->setImage($this->profileImage);
|
||||
}
|
||||
|
||||
if ($this->appIcon) {
|
||||
$icon = id(new PHUIIconView())
|
||||
->addClass('phui-list-item-icon')
|
||||
->setIconFont($this->appIcon);
|
||||
}
|
||||
|
||||
$classes = array();
|
||||
if ($this->href) {
|
||||
$classes[] = 'phui-list-item-href';
|
||||
|
|
Loading…
Reference in a new issue