Skip to content

Commit 29ff4ed

Browse files
authored
Add OpenHarmony OS icon mapping (#209)
Add an alias for OpenHarmony to OS_ICON_MAP, mapping it to the same i-simple-icons:harmonyos icon as HarmonyOS so user agents reporting "OpenHarmony" render the correct OS icon.
1 parent 5d70109 commit 29ff4ed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/comment-widget/src/commenter-ua-bar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const OS_ICON_MAP = {
1717
Ubuntu: 'i-logos:ubuntu',
1818
Fedora: 'i-logos:fedora',
1919
HarmonyOS: 'i-simple-icons:harmonyos',
20+
OpenHarmony: 'i-simple-icons:harmonyos',
2021
};
2122

2223
const BROWSER_ICON_MAP = {

0 commit comments

Comments
 (0)