File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Mixin/UserInterface/Windows Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,28 +47,28 @@ final class SelectedPhotoInputItemsPreviewWindow: BottomSheetView {
4747 }
4848 }
4949
50- override func dismissPopupControllerAnimated ( ) {
50+ override func dismissPopupController ( animated : Bool ) {
5151 if !isSending {
5252 delegate? . selectedPhotoInputItemsPreviewWindow ( self , willDismissWindow: selectedAssets)
5353 }
54- super. dismissPopupControllerAnimated ( )
54+ super. dismissPopupController ( animated : animated )
5555 }
5656
5757 @IBAction func closeAction( _ sender: Any ) {
5858 isSending = false
59- dismissPopupControllerAnimated ( )
59+ dismissPopupController ( animated : true )
6060 }
6161
6262 @IBAction func sendPhotosAction( _ sender: Any ) {
6363 isSending = true
6464 delegate? . selectedPhotoInputItemsPreviewWindow ( self , didTapSendItems: selectedAssets)
65- dismissPopupControllerAnimated ( )
65+ dismissPopupController ( animated : true )
6666 }
6767
6868 @IBAction func sendAsFilesAction( _ sender: Any ) {
6969 isSending = true
7070 delegate? . selectedPhotoInputItemsPreviewWindow ( self , didTapSendFiles: selectedAssets)
71- dismissPopupControllerAnimated ( )
71+ dismissPopupController ( animated : true )
7272 }
7373
7474 func load( assets: [ PHAsset ] , initIndex: Int ) {
You can’t perform that action at this time.
0 commit comments