Summary | Change share icon by OS | |
Repository | GitHub - VaperinaDEV/change-share-icon-by-os: This simple theme component will change share icon on posts and topics by OS. | |
Install Guide | How to install a theme or theme component | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Hello
This simple theme component will change share icon on posts and topics from to . On Android will change it to .
Note: If you use copyLink
in post_menu
than you probably don’t want to use this component as that’s copy post link instantly on desktop so the icon is a great choice for that. Maybe I should restrict this component for mobile or keep the original link icon on desktop if copyLink
enabled.
To handle this I’ve added a setting with you can disable the icon change on desktop. It is recommended to enable, if the copyLink
is added to the post_menu
. copyLink is added by default so this setting is enabled by default. This will keep the default link icon on posts on desktop.