Skip to content

Commit

Permalink
Merge pull request hyperoslo#161 from hyperoslo/feature/dismiss-view-…
Browse files Browse the repository at this point in the history
…controller

Dismiss Picker View controller on Done Button tap
  • Loading branch information
zenangst committed Jun 1, 2016
2 parents e6f1da7 + 0aa53d4 commit d22f8cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/ImagePickerController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ extension ImagePickerController: BottomContainerViewDelegate {
func doneButtonDidPress() {
let images = ImagePicker.resolveAssets(stack.assets)
delegate?.doneButtonDidPress(self, images: images)
dismissViewControllerAnimated(true, completion: nil)
}

func cancelButtonDidPress() {
Expand Down

0 comments on commit d22f8cf

Please sign in to comment.