From 9cc08ff10bb8d839152a944a365d9ea8496a41f2 Mon Sep 17 00:00:00 2001 From: Eveldee Date: Mon, 25 Mar 2019 22:58:56 +0100 Subject: [PATCH] Fix language setting null default value --- PlantBox.Client/PlantBox.Client/Models/Settings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlantBox.Client/PlantBox.Client/Models/Settings.cs b/PlantBox.Client/PlantBox.Client/Models/Settings.cs index cad1b07..dbe4433 100644 --- a/PlantBox.Client/PlantBox.Client/Models/Settings.cs +++ b/PlantBox.Client/PlantBox.Client/Models/Settings.cs @@ -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;