spec/helpers/table_screen.rb in ProMotion-1.0.0 vs spec/helpers/table_screen.rb in ProMotion-1.0.1
- old
+ new
@@ -6,9 +6,11 @@
@promotion_table_data
end
def on_load
self.tap_counter = 0
+ set_attributes self.view, { backgroundView: nil, backgroundColor: UIColor.whiteColor }
+ set_nav_bar_right_button UIImage.imageNamed("list.png"), action: :return_to_some_other_screen, type: UIBarButtonItemStylePlain
end
def table_data
@data ||= [{
title: "Your Account",