mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-15 21:43:03 +03:00
Suggestion from review
This commit is contained in:
@@ -87,10 +87,7 @@ namespace Jellyfin.Api.Controllers
|
||||
{
|
||||
foreach (var (key, value) in customDisplayPreferences)
|
||||
{
|
||||
if (!dto.CustomPrefs.ContainsKey(key))
|
||||
{
|
||||
dto.CustomPrefs[key] = value;
|
||||
}
|
||||
dto.CustomPrefs.TryAdd(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user