Suggestion from review

This commit is contained in:
crobibero 2020-12-03 14:35:18 -07:00
parent b0c79edd2c
commit 685c966468

View File

@ -87,10 +87,7 @@ namespace Jellyfin.Api.Controllers
{ {
foreach (var (key, value) in customDisplayPreferences) foreach (var (key, value) in customDisplayPreferences)
{ {
if (!dto.CustomPrefs.ContainsKey(key)) dto.CustomPrefs.TryAdd(key, value);
{
dto.CustomPrefs[key] = value;
}
} }
} }