diff --git a/WordPressPCL/Models/Settings.cs b/WordPressPCL/Models/Settings.cs index 94aa577..8d7fbb0 100644 --- a/WordPressPCL/Models/Settings.cs +++ b/WordPressPCL/Models/Settings.cs @@ -98,16 +98,37 @@ public class Settings public OpenStatus? DefaultCommentStatus { get; set; } + private int? _SiteLogo; /// /// Media ID of the site logo /// [JsonProperty("site_logo")] - public int? SiteLogo { get; set; } - + public int? SiteLogo + { + get + { + return _SiteLogo ?? 0; + } + set + { + _SiteLogo = value ?? 0; + } + } + + private int? _SiteIcon; /// /// Media ID of the site icon /// [JsonProperty("site_icon")] - public int? SiteIcon { get; set; } + public int? SiteIcon { + get + { + return _SiteIcon ?? 0; + } + set + { + _SiteIcon = value ?? 0; + } + } } } \ No newline at end of file