Browse Source

Merge pull request #4836 from crobibero/dashboard-theme

Return dashboardTheme when requesting DisplayPreferences

(cherry picked from commit 98da2c67a555279f485ca8bc91be67d486b244b7)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
Claus Vium 4 years ago
parent
commit
6b20aaaa6a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Jellyfin.Api/Controllers/DisplayPreferencesController.cs

+ 1 - 0
Jellyfin.Api/Controllers/DisplayPreferencesController.cs

@@ -85,6 +85,7 @@ namespace Jellyfin.Api.Controllers
             dto.CustomPrefs["skipBackLength"] = displayPreferences.SkipBackwardLength.ToString(CultureInfo.InvariantCulture);
             dto.CustomPrefs["enableNextVideoInfoOverlay"] = displayPreferences.EnableNextVideoInfoOverlay.ToString(CultureInfo.InvariantCulture);
             dto.CustomPrefs["tvhome"] = displayPreferences.TvHome;
+            dto.CustomPrefs["dashboardTheme"] = displayPreferences.DashboardTheme;
 
             // Load all custom display preferences
             var customDisplayPreferences = _displayPreferencesManager.ListCustomItemDisplayPreferences(displayPreferences.UserId, itemId, displayPreferences.Client);