motion-prime/elements/button.rb in motion-prime-1.0.3 vs motion-prime/elements/button.rb in motion-prime-1.0.4
- old
+ new
@@ -20,9 +20,9 @@
def text_value
view.try(:currentTitle) || computed_options[:title]
end
def font
- computed_options[:title_label].try(:[], :font) || :system.uifont
+ extract_font_from(computed_options[:title_label]) || :system.uifont
end
end
end
\ No newline at end of file