Don't hide Backdrops, ThemeSong and ThemeVideo options on TV

This commit is contained in:
Dmitry Lyzo 2022-02-22 00:54:51 +03:00
parent 4c9f39e07e
commit d14f3b3d0b
2 changed files with 3 additions and 13 deletions

View File

@ -100,16 +100,6 @@ import template from './displaySettings.template.html';
context.querySelector('.fldDateTimeLocale').classList.add('hide');
}
if (!browser.tizen && !browser.web0s) {
context.querySelector('.fldBackdrops').classList.remove('hide');
context.querySelector('.fldThemeSong').classList.remove('hide');
context.querySelector('.fldThemeVideo').classList.remove('hide');
} else {
context.querySelector('.fldBackdrops').classList.add('hide');
context.querySelector('.fldThemeSong').classList.add('hide');
context.querySelector('.fldThemeVideo').classList.add('hide');
}
fillThemes(context.querySelector('#selectTheme'), userSettings.theme());
fillThemes(context.querySelector('#selectDashboardTheme'), userSettings.dashboardTheme());

View File

@ -231,7 +231,7 @@
<div class="fieldDescription checkboxFieldDescription">${EnableDetailsBannerHelp}</div>
</div>
<div class="checkboxContainer checkboxContainer-withDescription fldBackdrops hide">
<div class="checkboxContainer checkboxContainer-withDescription fldBackdrops">
<label>
<input type="checkbox" is="emby-checkbox" id="chkBackdrops" />
<span>${Backdrops}</span>
@ -239,7 +239,7 @@
<div class="fieldDescription checkboxFieldDescription">${EnableBackdropsHelp}</div>
</div>
<div class="checkboxContainer checkboxContainer-withDescription fldThemeSong hide">
<div class="checkboxContainer checkboxContainer-withDescription fldThemeSong">
<label>
<input type="checkbox" is="emby-checkbox" id="chkThemeSong" />
<span>${ThemeSongs}</span>
@ -247,7 +247,7 @@
<div class="fieldDescription checkboxFieldDescription">${EnableThemeSongsHelp}</div>
</div>
<div class="checkboxContainer checkboxContainer-withDescription fldThemeVideo hide">
<div class="checkboxContainer checkboxContainer-withDescription fldThemeVideo">
<label>
<input type="checkbox" is="emby-checkbox" id="chkThemeVideo" />
<span>${ThemeVideos}</span>