Icons: huge cleanup
This commit is contained in:
parent
ccdb4e0664
commit
1f8c55d581
53 changed files with 155 additions and 174 deletions
|
|
@ -118,7 +118,7 @@ Item {
|
|||
// Icon
|
||||
NIcon {
|
||||
id: icon
|
||||
text: (root.type == "warning") ? Bootstrap.icons["warning"] : Bootstrap.icons["info"]
|
||||
text: (root.type == "warning") ? "warning" : "info"
|
||||
color: {
|
||||
switch (root.type) {
|
||||
case "warning":
|
||||
|
|
@ -162,7 +162,7 @@ Item {
|
|||
|
||||
// Close button (only if persistent or manual dismiss needed)
|
||||
NIconButton {
|
||||
icon: Bootstrap.icons["x-lg"]
|
||||
icon: "x-lg"
|
||||
visible: root.persistent || root.duration === 0
|
||||
|
||||
colorBg: Color.mSurfaceVariant
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue