mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Use static lambdas
This commit is contained in:
@@ -310,7 +310,7 @@ namespace Emby.Server.Implementations.Localization
|
||||
|
||||
return _dictionaries.GetOrAdd(
|
||||
culture,
|
||||
(key, localizationManager) => localizationManager.GetDictionary(Prefix, key, DefaultCulture + ".json").GetAwaiter().GetResult(),
|
||||
static (key, localizationManager) => localizationManager.GetDictionary(Prefix, key, DefaultCulture + ".json").GetAwaiter().GetResult(),
|
||||
this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user