(value: Icon | null)
| 351 | } |
| 352 | |
| 353 | setValue(value: Icon | null) { |
| 354 | this.icon = value; |
| 355 | this.revertButton.setVisible(this.hasCustomIcon()); |
| 356 | this.imageView.setImage(value?.getImage()); |
| 357 | } |
| 358 | |
| 359 | hasCustomIcon() { |
| 360 | return this.icon && !this.icon.filePath.startsWith(Icon.builtinIconsPath); |
no test coverage detected