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 {
47
47
}
48
48
}
49
49
50
- override func dismissPopupControllerAnimated ( ) {
50
+ override func dismissPopupController ( animated : Bool ) {
51
51
if !isSending {
52
52
delegate? . selectedPhotoInputItemsPreviewWindow ( self , willDismissWindow: selectedAssets)
53
53
}
54
- super. dismissPopupControllerAnimated ( )
54
+ super. dismissPopupController ( animated : animated )
55
55
}
56
56
57
57
@IBAction func closeAction( _ sender: Any ) {
58
58
isSending = false
59
- dismissPopupControllerAnimated ( )
59
+ dismissPopupController ( animated : true )
60
60
}
61
61
62
62
@IBAction func sendPhotosAction( _ sender: Any ) {
63
63
isSending = true
64
64
delegate? . selectedPhotoInputItemsPreviewWindow ( self , didTapSendItems: selectedAssets)
65
- dismissPopupControllerAnimated ( )
65
+ dismissPopupController ( animated : true )
66
66
}
67
67
68
68
@IBAction func sendAsFilesAction( _ sender: Any ) {
69
69
isSending = true
70
70
delegate? . selectedPhotoInputItemsPreviewWindow ( self , didTapSendFiles: selectedAssets)
71
- dismissPopupControllerAnimated ( )
71
+ dismissPopupController ( animated : true )
72
72
}
73
73
74
74
func load( assets: [ PHAsset ] , initIndex: Int ) {
You can’t perform that action at this time.
0 commit comments