Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1d5ff81

Browse files
author
David Larrabee
committedJan 20, 2015
reapply_styles is available from screen directly
1 parent 54d5e4f commit 1d5ff81

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎app/screens/home_screen.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ def nav_right_button
4747
# # Then in will_animate_rotate
4848
# find(:reapply_style).reapply_styles
4949
def will_animate_rotate(orientation, duration)
50-
find.all.reapply_styles
50+
reapply_styles
5151
end
5252
end

‎templates/screen/app/screens/name_screen.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ def table_data
2424
# Then in will_animate_rotate
2525
# find(:reapply_style).reapply_styles#
2626
def will_animate_rotate(orientation, duration)
27-
find.all.reapply_styles
27+
reapply_styles
2828
end
2929
end

0 commit comments

Comments
 (0)
Please sign in to comment.