Suggestion from review
This commit is contained in:
parent
b0c79edd2c
commit
685c966468
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user