Convert all calls to 'IconFont' to just 'Icon'
Summary: Mostly for consistency, we're not using other forms of icons and this makes all classes that use an icon call it in the same way. Test Plan: tested uiexamples, lots of other random pages. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15125
This commit is contained in:
@@ -110,7 +110,7 @@ final class PhabricatorFileComposeController
|
||||
),
|
||||
),
|
||||
id(new PHUIIconView())
|
||||
->setIconFont($icon)
|
||||
->setIcon($icon)
|
||||
->addClass('compose-icon-bg'));
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ final class PhabricatorFileComposeController
|
||||
$preview = id(new PHUIIconView())
|
||||
->setID($preview_id)
|
||||
->addClass('compose-background-'.$value_color)
|
||||
->setIconFont($value_icon)
|
||||
->setIcon($value_icon)
|
||||
->addClass('compose-icon-bg');
|
||||
|
||||
$color_input = javelin_tag(
|
||||
|
||||
Reference in New Issue
Block a user