Skip to content

Commit

Permalink
Change property src (not valid) for image.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcerrejon committed Apr 22, 2021
1 parent 2a593fa commit 99b957f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function init() {
if (image.type === 'base64') {
imageView.image = Ti.Utils.base64decode(image.image);
} else if (image.type === 'image') {
imageView.src = image.image;
imageView.image = image.image;
} else {
throw new Error('Invalid image type ' + image.type + '.');
}
Expand Down

0 comments on commit 99b957f

Please sign in to comment.