Skip to content

Commit 14ad3ad

Browse files
committed
Fixed issue NativeScript#132.
1 parent 7fce2cb commit 14ad3ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/image/image-common.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ function onSrcPropertyChanged(data: dependencyObservable.PropertyChangeData) {
3939
}
4040
}
4141
else if (value instanceof imageSource.ImageSource) {
42-
// Support binding the iamgeSource trough the src propoerty
42+
// Support binding the imageSource trough the src propoerty
43+
image.imageSource = null;
4344
image.imageSource = value;
4445
}
4546
else {

0 commit comments

Comments
 (0)