We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a593fa + 99b957f commit fb76313Copy full SHA for fb76313
controllers/widget.js
@@ -26,7 +26,7 @@ function init() {
26
if (image.type === 'base64') {
27
imageView.image = Ti.Utils.base64decode(image.image);
28
} else if (image.type === 'image') {
29
- imageView.src = image.image;
+ imageView.image = image.image;
30
} else {
31
throw new Error('Invalid image type ' + image.type + '.');
32
}
0 commit comments