triniwiz / nativescript-image-zoom

Apache License 2.0
19 stars 14 forks source link

Fix for setting source as android ImageSource #23

Closed tokiroto closed 4 years ago

tokiroto commented 5 years ago

When attempting to init the view with ImageSource (passing as argument into src field), actually anything rather a string, it would stumble upon string check for path. While that check is redundant, and actually has happened in getImage function.