Skip to content

Commit

Permalink
Merge pull request #338 from mom-mom/master
Browse files Browse the repository at this point in the history
<FIX>: Indexed number is incorrect when deselecting
  • Loading branch information
mikaoj committed Dec 17, 2021
2 parents 88b189d + cd45a18 commit 7afbaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Controller/ImagePickerController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ import Photos
}

public func deselect(asset: PHAsset) {
assetsViewController.unselect(asset: asset)
assetStore.remove(asset)
assetsViewController.unselect(asset: asset)
updatedDoneButton()
}

Expand Down

0 comments on commit 7afbaa1

Please sign in to comment.