mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +00:00
fix: adds initializer for dictionaries
This commit is contained in:
@@ -11,9 +11,10 @@ namespace PepperDash.Essentials.Core.Config
|
|||||||
public class AudioControlPointListItem
|
public class AudioControlPointListItem
|
||||||
{
|
{
|
||||||
[JsonProperty("levelControls")]
|
[JsonProperty("levelControls")]
|
||||||
public Dictionary<string, LevelControlListItem> LevelControls { get; set; }
|
public Dictionary<string, LevelControlListItem> LevelControls { get; set; } = new Dictionary<string, LevelControlListItem>();
|
||||||
|
|
||||||
[JsonProperty("presets")]
|
[JsonProperty("presets")]
|
||||||
public Dictionary<string, PresetListItem> Presets { get; set; }
|
public Dictionary<string, PresetListItem> Presets { get; set; } = new Dictionary<string, PresetListItem>();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user