Skip to content

Commit 940c140

Browse files
committed
Revert converter check.
1 parent 3097fa1 commit 940c140

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/UnityMvvmToolkit.Core/Internal/ObjectHandlers/ObjectWrapperHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public TProperty GetProperty<TProperty, TValueType>(IBindingContext context, Bin
5858
var targetType = typeof(TValueType);
5959
var sourceType = propertyType.GenericTypeArguments[0];
6060

61-
if (targetType == sourceType && string.IsNullOrWhiteSpace(bindingData.ConverterName))
61+
if (targetType == sourceType)
6262
{
6363
return (TProperty) property;
6464
}

src/UnityMvvmToolkit.UnityPackage/Assets/Plugins/UnityMvvmToolkit/Runtime/Core/Internal/ObjectHandlers/ObjectWrapperHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public TProperty GetProperty<TProperty, TValueType>(IBindingContext context, Bin
5858
var targetType = typeof(TValueType);
5959
var sourceType = propertyType.GenericTypeArguments[0];
6060

61-
if (targetType == sourceType && string.IsNullOrWhiteSpace(bindingData.ConverterName))
61+
if (targetType == sourceType)
6262
{
6363
return (TProperty) property;
6464
}

0 commit comments

Comments
 (0)