motion-prime/elements/image.rb in motion-prime-0.3.1 vs motion-prime/elements/image.rb in motion-prime-0.3.2

- old
+ new

@@ -5,9 +5,10 @@ "UIImageView" end def fetch_image return unless computed_options[:url] + raise "You must set default image for `#{name}`" unless computed_options[:default] view.setImageWithURL NSURL.URLWithString(computed_options[:url]), placeholderImage: computed_options[:default].uiimage end end end \ No newline at end of file