Fix default values missing in ClientCapabilities(Dto) (#11232)

This commit is contained in:
Niels van Velzen 2024-03-27 22:36:30 +01:00 committed by GitHub
parent 81c24cb9a8
commit 8d02c45e6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -55,12 +55,12 @@ public class ClientCapabilitiesDto
// TODO: Remove after 10.9
[Obsolete("Unused")]
[DefaultValue(false)]
public bool? SupportsContentUploading { get; set; }
public bool? SupportsContentUploading { get; set; } = false;
// TODO: Remove after 10.9
[Obsolete("Unused")]
[DefaultValue(false)]
public bool? SupportsSync { get; set; }
public bool? SupportsSync { get; set; } = false;
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
/// <summary>

View File

@ -35,11 +35,11 @@ namespace MediaBrowser.Model.Session
// TODO: Remove after 10.9
[Obsolete("Unused")]
[DefaultValue(false)]
public bool? SupportsContentUploading { get; set; }
public bool? SupportsContentUploading { get; set; } = false;
// TODO: Remove after 10.9
[Obsolete("Unused")]
[DefaultValue(false)]
public bool? SupportsSync { get; set; }
public bool? SupportsSync { get; set; } = false;
}
}