Skip to content

Commit fb76313

Browse files
Merge pull request #1 from jmcerrejon/main
Change property src (not valid) for image.
2 parents 2a593fa + 99b957f commit fb76313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function init() {
2626
if (image.type === 'base64') {
2727
imageView.image = Ti.Utils.base64decode(image.image);
2828
} else if (image.type === 'image') {
29-
imageView.src = image.image;
29+
imageView.image = image.image;
3030
} else {
3131
throw new Error('Invalid image type ' + image.type + '.');
3232
}

0 commit comments

Comments
 (0)