Skip to content

Commit

Permalink
Merge pull request #816 from Atastor/TheUndeadIssue
Browse files Browse the repository at this point in the history
Fixing issue #233 regression regression ...
  • Loading branch information
andrewhavens committed Mar 8, 2019
2 parents 335c656 + c9e3eb5 commit 04ee558
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ProMotion/table/table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def accessory_toggled_switch(switch)

def delete_row(index_paths, animation = nil)
deletable_index_paths = []
Array(index_paths).each do |index_path|
index_paths = [index_paths] if index_paths.kind_of?(NSIndexPath)
index_paths.each do |index_path|
delete_cell = false

delete_cell = trigger_action(:on_cell_deleted, cell_at(index_path: index_path), index_path) if respond_to?(:on_cell_deleted)
Expand Down

0 comments on commit 04ee558

Please sign in to comment.