mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 00:09:41 +00:00
Fix #7869 - highlight current audio theme in dropdown
This commit is contained in:
parent
ae5b66e248
commit
3429f88f5b
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ nav.toolbar(ng-controller='MenuCtrl')
|
|||
// Using [{k,v}] instead of {k:v,k:v} to maintain order ('off' at top)
|
||||
for theme in ['off', 'danielTheBard', 'gokulTheme', 'luneFoxTheme', 'wattsTheme', 'rosstavoTheme', 'dewinTheme']
|
||||
li
|
||||
a(ng-class="{'bg-primary':user.preferences.sound === '# {theme}'}", ng-click="set({'preferences.sound':'#{theme}'})")=env.t('audioTheme_'+theme)
|
||||
a(ng-class="{'bg-info':user.preferences.sound === '#{theme}'}", ng-click="set({'preferences.sound':'#{theme}'})")=env.t('audioTheme_'+theme)
|
||||
ul.toolbar-controls
|
||||
li.toolbar-controls-button
|
||||
a(data-close-menu)=env.t('close')
|
||||
|
|
|
|||
Loading…
Reference in a new issue