aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2024-11-16 18:11:01 +0100
committerGitHub <noreply@github.com>2024-11-16 10:11:01 -0700
commitceb850c77052c465af8422dcf152f1d1d1530457 (patch)
tree03596036aa41f2927ec5efc9d94cf99917d66fdf /Jellyfin.Data/Entities
parent5e8c0fe40c0eb4c29b0f11cdf397c9880708e74b (diff)
Update projects to .NET 9 (#13023)
Diffstat (limited to 'Jellyfin.Data/Entities')
-rw-r--r--Jellyfin.Data/Entities/User.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Data/Entities/User.cs b/Jellyfin.Data/Entities/User.cs
index 2c9cc8d785..9bbe9efe89 100644
--- a/Jellyfin.Data/Entities/User.cs
+++ b/Jellyfin.Data/Entities/User.cs
@@ -514,7 +514,7 @@ namespace Jellyfin.Data.Entities
/// </summary>
public void AddDefaultPreferences()
{
- foreach (var val in Enum.GetValues(typeof(PreferenceKind)).Cast<PreferenceKind>())
+ foreach (var val in Enum.GetValues<PreferenceKind>())
{
Preferences.Add(new Preference(val, string.Empty));
}