From 636ab6f42964c24e9c51a434b9ab95978b954d79 Mon Sep 17 00:00:00 2001 From: Stephan Toggweiler Date: Wed, 5 Jun 2013 17:38:42 +0200 Subject: [PATCH 1/3] Promotion update_table_data for Formotion --- lib/ProMotion/screens/_compatibility/formotion_screen.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/ProMotion/screens/_compatibility/formotion_screen.rb b/lib/ProMotion/screens/_compatibility/formotion_screen.rb index 1846ade..863ae61 100644 --- a/lib/ProMotion/screens/_compatibility/formotion_screen.rb +++ b/lib/ProMotion/screens/_compatibility/formotion_screen.rb @@ -19,6 +19,13 @@ module ProMotion s end + + # emulate the ProMotion table update for formotion + def update_table_data + self.form = table_data + self.form.controller = self + self.tableView.reloadData + end def viewDidLoad super From c3a0ef066b81bd4192563d41c6862bc14a38cea7 Mon Sep 17 00:00:00 2001 From: Jamon Holmgren Date: Thu, 6 Jun 2013 07:51:43 -0700 Subject: [PATCH 2/3] Fixed crash when closing a screen directly from a bar button action. --- lib/ProMotion/screen_helpers/screen_navigation.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ProMotion/screen_helpers/screen_navigation.rb b/lib/ProMotion/screen_helpers/screen_navigation.rb index 65fe30c..7756b8f 100644 --- a/lib/ProMotion/screen_helpers/screen_navigation.rb +++ b/lib/ProMotion/screen_helpers/screen_navigation.rb @@ -50,6 +50,7 @@ module ProMotion def close_screen(args = {}) args ||= {} + args = { sender: args } unless args.is_a?(Hash) args[:animated] ||= true if self.modal? From fa207eacfefab5e7ce81b9614d65c4f11d1790d3 Mon Sep 17 00:00:00 2001 From: Jamon Holmgren Date: Thu, 6 Jun 2013 07:53:01 -0700 Subject: [PATCH 3/3] Version 0.7.3 --- lib/ProMotion/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ProMotion/version.rb b/lib/ProMotion/version.rb index 8ed4ae3..3814e3a 100644 --- a/lib/ProMotion/version.rb +++ b/lib/ProMotion/version.rb @@ -1,3 +1,3 @@ module ProMotion - VERSION = "0.7.2" unless defined?(ProMotion::VERSION) + VERSION = "0.7.3" unless defined?(ProMotion::VERSION) end