app/controllers/first_controller.rb in teacup-0.3.12 vs app/controllers/first_controller.rb in teacup-1.0.0
- old
+ new
@@ -11,16 +11,10 @@
end
@button.addTarget(self, action: :next_message, forControlEvents:UIControlEventTouchUpInside)
end
- # used in testing
- def landscape_only
- UIApplication.sharedApplication.windows[0].rootViewController = LandscapeOnlyController.alloc.init
- end
-
def next_view
- landscape_only
end
def next_message
msg = messages.shift
if msg