spec/helpers/home_screen.rb in ProMotion-0.6.0 vs spec/helpers/home_screen.rb in ProMotion-0.6.1
- old
+ new
@@ -2,12 +2,12 @@
title "Home"
def on_load
set_nav_bar_right_button "Save", action: :save_something, type: UIBarButtonItemStyleDone
- set_nav_bar_left_button "Cancel", action: :return_to_some_other_screen, type: UIBarButtonItemStylePlain
+ set_nav_bar_left_button UIImage.imageNamed("list.png"), action: :return_to_some_other_screen, type: UIBarButtonItemStylePlain
end
def on_return(args={})
end
-end
\ No newline at end of file
+end