mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Enable nullabe reference types for MediaBrowser.Model
This commit is contained in:
@@ -6,6 +6,12 @@ namespace MediaBrowser.Model.Library
|
||||
{
|
||||
public class UserViewQuery
|
||||
{
|
||||
public UserViewQuery()
|
||||
{
|
||||
IncludeExternalContent = true;
|
||||
PresetViews = Array.Empty<string>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the user identifier.
|
||||
/// </summary>
|
||||
@@ -25,11 +31,5 @@ namespace MediaBrowser.Model.Library
|
||||
public bool IncludeHidden { get; set; }
|
||||
|
||||
public string[] PresetViews { get; set; }
|
||||
|
||||
public UserViewQuery()
|
||||
{
|
||||
IncludeExternalContent = true;
|
||||
PresetViews = Array.Empty<string>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user