This commit is contained in:
NaBian committed 2019-12-19 01:05:08 +08:00
1 parent 0b79d187ac
commit 99874a418f
16 files changed
+53 -17

No files matched your search

@@ -10,7 +10,7 @@ namespace HandyControlDemo.Tools.Converter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return value is string str ? ResourceHelper.GetResource<Brush>(str) : default(Brush);
return value is string str ? ResourceHelper.GetResource<Brush>(str) : default;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)