Code cleanup

This commit is contained in:
Robert committed 2020-01-14 19:18:24 +01:00
1 parent 0c245ba83d
commit ae330c3769
73 files changed
+372 -364

No files matched your search

@@ -14,9 +14,7 @@ namespace Artemis.Core.JsonConverters
public override SKColor ReadJson(JsonReader reader, Type objectType, SKColor existingValue, bool hasExistingValue, JsonSerializer serializer)
{
if (reader.Value is string value && !string.IsNullOrWhiteSpace(value))
{
return SKColor.Parse(value);
}
return SKColor.Empty;
}