diff --git a/models/Settings/Firmware.cs b/models/Settings/Firmware.cs index f721ff3e..3e8c37ec 100644 --- a/models/Settings/Firmware.cs +++ b/models/Settings/Firmware.cs @@ -3,4 +3,9 @@ namespace pannella.analoguepocket; public class Firmware { public string version { get; set; } + + public Firmware() + { + version = ""; + } } \ No newline at end of file diff --git a/models/Settings/Settings.cs b/models/Settings/Settings.cs index 9494e2ce..b7fd4f0a 100644 --- a/models/Settings/Settings.cs +++ b/models/Settings/Settings.cs @@ -5,4 +5,9 @@ public class Settings public Firmware firmware { get; set; } public Config config { get; set; } public Dictionary coreSettings { get; set; } + + public Settings() + { + firmware = new Firmware(); + } } \ No newline at end of file