Skip to content

Commit

Permalink
Add icons to music feature types (#2051)
Browse files Browse the repository at this point in the history
  • Loading branch information
William-De71 authored Apr 22, 2024
1 parent 5d444f9 commit 1a28d9e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions front/src/utils/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,5 +330,14 @@ export const DeviceFeatureCategoriesIcon = {
},
[DEVICE_FEATURE_CATEGORIES.UNKNOWN]: {
[DEVICE_FEATURE_TYPES.UNKNOWN.UNKNOWN]: 'help-circle'
},
[DEVICE_FEATURE_CATEGORIES.MUSIC]: {
[DEVICE_FEATURE_TYPES.MUSIC.VOLUME]: 'volume-1',
[DEVICE_FEATURE_TYPES.MUSIC.PLAY]: 'play',
[DEVICE_FEATURE_TYPES.MUSIC.PAUSE]: 'pause',
[DEVICE_FEATURE_TYPES.MUSIC.PREVIOUS]: 'rewind',
[DEVICE_FEATURE_TYPES.MUSIC.NEXT]: 'fast-forward',
[DEVICE_FEATURE_TYPES.MUSIC.PLAYBACK_STATE]: 'bar-chart-2',
[DEVICE_FEATURE_TYPES.MUSIC.PLAY_NOTIFICATION]: 'bell'
}
};

0 comments on commit 1a28d9e

Please sign in to comment.