lib/ProMotion/screens/_compatibility/formotion_screen.rb in ProMotion-0.7.2 vs lib/ProMotion/screens/_compatibility/formotion_screen.rb in ProMotion-0.7.3

- old
+ new

@@ -17,9 +17,16 @@ s.tableView.allowsSelectionDuringEditing = true 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 self.view_did_load if self.respond_to?(:view_did_load) end