Skip to content

Commit 786ef98

Browse files
more changes
1 parent ba6b0bb commit 786ef98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Controls/src/Core/BindablePropertyConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destina
2424
{
2525
var strValue = value?.ToString() ?? string.Empty;
2626

27-
if (string.IsNullOrWhiteSpace(strValue) || string.IsNullOrEmpty(strValue))
27+
if (string.IsNullOrWhiteSpace(strValue))
2828
{
2929
return null;
3030
}

src/Controls/src/Core/FontAttributes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destina
3131
{
3232
var strValue = value?.ToString() ?? string.Empty;
3333

34-
if (string.IsNullOrEmpty(strValue) || string.IsNullOrWhiteSpace(strValue))
34+
if (string.IsNullOrEmpty(strValue))
3535
{
3636
return FontAttributes.None;
3737
}

0 commit comments

Comments
 (0)