-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
Current Behavior
Configurating the default detail-icon, searchbar-icon etc. does not work anymore with overwriting the ionicon name with addIcons()
This was the proposed and accepted solution from Issue #22946 to globally set custom icons for searchbar, item detail, etc.
Expected Behavior
overwriting icon defaults with addIcons does work on components (again)
Steps to Reproduce
- Setup new project
- Overwrite default icon that is used on a component with addIcon
Code Reproduction URL
https://github.com/Spinnenzunge/component-icon-defaults
Ionic Info
Ionic:
Ionic CLI : 6.18.1 (/Users/pascalgraf/.nvm/versions/node/v14.17.6/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.0.7
@angular-devkit/build-angular : 13.0.4
@angular-devkit/schematics : 13.0.4
@angular/cli : 13.0.4
@ionic/angular-toolkit : 5.0.3
Capacitor:
Capacitor CLI : 3.4.1
@capacitor/android : not installed
@capacitor/core : 3.4.1
@capacitor/ios : not installed
Utility:
cordova-res : 0.15.4
native-run : 1.5.0
System:
NodeJS : v14.17.6 (/Users/pascalgraf/.nvm/versions/node/v14.17.6/bin/node)
npm : 7.23.0
OS : macOS Big Sur
Additional Information
No response