|
@@ -1,5 +1,3 @@
|
|
|
-#nullable disable
|
|
|
-
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using Jellyfin.Data.Entities;
|
|
@@ -50,7 +48,7 @@ namespace MediaBrowser.Controller
|
|
|
/// <param name="itemId">The item id.</param>
|
|
|
/// <param name="client">The client string.</param>
|
|
|
/// <returns>The dictionary of custom item display preferences.</returns>
|
|
|
- Dictionary<string, string> ListCustomItemDisplayPreferences(Guid userId, Guid itemId, string client);
|
|
|
+ Dictionary<string, string?> ListCustomItemDisplayPreferences(Guid userId, Guid itemId, string client);
|
|
|
|
|
|
/// <summary>
|
|
|
/// Sets the custom item display preference for the user and client.
|
|
@@ -59,7 +57,7 @@ namespace MediaBrowser.Controller
|
|
|
/// <param name="itemId">The item id.</param>
|
|
|
/// <param name="client">The client id.</param>
|
|
|
/// <param name="customPreferences">A dictionary of custom item display preferences.</param>
|
|
|
- void SetCustomItemDisplayPreferences(Guid userId, Guid itemId, string client, Dictionary<string, string> customPreferences);
|
|
|
+ void SetCustomItemDisplayPreferences(Guid userId, Guid itemId, string client, Dictionary<string, string?> customPreferences);
|
|
|
|
|
|
/// <summary>
|
|
|
/// Saves changes made to the database.
|