fix(api): add support for "image" icon when duplicate app (#20744) (#20761)

This commit is contained in:
HyaCinth 2025-06-18 14:35:42 +08:00 committed by GitHub
parent 47e0f92c0f
commit d4be356ffb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -421,7 +421,7 @@ class AppDslService:
# Set icon type
icon_type_value = icon_type or app_data.get("icon_type")
if icon_type_value in ["emoji", "link"]:
if icon_type_value in ["emoji", "link", "image"]:
icon_type = icon_type_value
else:
icon_type = "emoji"