motion-prime/sections/form.rb in motion-prime-0.1.3 vs motion-prime/sections/form.rb in motion-prime-0.1.4
- old
+ new
@@ -36,11 +36,9 @@
styles: [:base_form, name.to_sym], delegate: self, dataSource: self
).view
end
def render_cell(index, table)
- cell = cached_cell(index)
- return cell if cell
item = data[index.row]
screen.table_view_cell styles: [:base_form_field, :"#{name}_field"], reuse_identifier: cell_name(table, index) do
item.render(to: screen)
end
\ No newline at end of file