Skip to content

Commit

Permalink
Merge pull request #91 from AmjadAlSawafta/master
Browse files Browse the repository at this point in the history
Adding UIAlertAction for closing the action sheet when action exists
  • Loading branch information
Rushi Sangani authored Nov 26, 2019
2 parents bd7194b + 516691a commit 83f4eed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ extension RSSelectionMenu {
}

// add done action
if (tableView?.selectionStyle == .multiple || !self.dismissAutomatically) {
if (tableView?.selectionStyle == .multiple || !self.dismissAutomatically || style == .actionSheet) {
alertController.addAction(doneAction)
}

Expand Down

0 comments on commit 83f4eed

Please sign in to comment.