Skip to content

Commit 7afbaa1

Browse files
authored
Merge pull request #338 from mom-mom/master
<FIX>: Indexed number is incorrect when deselecting
2 parents 88b189d + cd45a18 commit 7afbaa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/Controller/ImagePickerController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ import Photos
143143
}
144144

145145
public func deselect(asset: PHAsset) {
146-
assetsViewController.unselect(asset: asset)
147146
assetStore.remove(asset)
147+
assetsViewController.unselect(asset: asset)
148148
updatedDoneButton()
149149
}
150150

0 commit comments

Comments
 (0)