extended icon overwrite

This commit is contained in:
joBr99
2022-05-28 09:34:43 +02:00
parent 6bcd5e1e50
commit 922cb20a4e
2 changed files with 9 additions and 1 deletions

View File

@@ -6898,6 +6898,8 @@ icons = {
}
def get_icon_id(ma_name):
if "text:" in ma_name:
return ma_name.replace("text:","")
ma_name = ma_name.replace("mdi:","")
if ma_name in icons:
return icons[ma_name]