- fix: UpdateResolver preview think

This commit is contained in:
2025-09-08 21:26:12 +03:00
parent 56c373134f
commit a09ace0d39
8 changed files with 24 additions and 13 deletions

View File

@@ -24,5 +24,5 @@ public static class TypeConverters
});
public static FuncValueConverter<string, Avalonia.Media.Color> NameColorRepresentation { get; } =
new(ColorUtils.GetColorFromString);
new((str)=>ColorUtils.GetColorFromString(str ?? throw new ArgumentNullException(nameof(str),"Name of color is null!")));
}