Skip to content

Conversation

@Lyqed
Copy link

@Lyqed Lyqed commented Dec 20, 2024

The issue with macro icons defaulting to question marks was caused by
incorrect icon assignment.

After investigating how other Obsidian plugins handle command icons, I
discovered that icons should be set directly on the command object via
the icon property when calling addCommand. This ensures the icon
appears properly in all UI contexts.

So to fix this I simply modified updateMacroCommands to set icons directly on commands

This change ensures macro icons display correctly in both desktop and
mobile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant