Fix language setting null default value

This commit is contained in:
2019-03-25 22:58:56 +01:00
parent c96e8fc6ce
commit 9cc08ff10b

View File

@@ -10,7 +10,7 @@ namespace PlantBox.Client.Models
class Settings
{
[JsonConverter(typeof(JsonCultureInfoConverter))]
public CultureInfo Language { get; set; }
public CultureInfo Language { get; set; } = new CultureInfo("en-US");
public bool NotificationsDisabled { get; set; } = false;
public bool NotificationsMuted { get; set; } = false;