浏览代码

Return dashboardTheme when requesting DisplayPreferences

crobibero 4 年之前
父节点
当前提交
a682fc4516
共有 1 个文件被更改,包括 1 次插入0 次删除
  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);