Skip to content

Commit 583dbf0

Browse files
committed
fix: update display name and icon method in ClearIconCache utility
1 parent 7df8cb0 commit 583dbf0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/utilities/ClearIconCache.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ class ClearIconCache extends Utility
2222
*/
2323
public static function displayName(): string
2424
{
25-
return Craft::t('icon-manager', 'Clear Icon Cache');
25+
$pluginName = IconManager::getInstance()->getSettings()->pluginName;
26+
return $pluginName . ' Cache';
2627
}
2728

2829
/**
@@ -36,9 +37,9 @@ public static function id(): string
3637
/**
3738
* @inheritdoc
3839
*/
39-
public static function iconPath(): ?string
40+
public static function icon(): ?string
4041
{
41-
return null;
42+
return 'folder-grid';
4243
}
4344

4445
/**

0 commit comments

Comments
 (0)