Explorar o código

Return dashboardTheme when requesting DisplayPreferences

crobibero %!s(int64=4) %!d(string=hai) anos
pai
achega
a682fc4516
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);