Skip to content

Commit f39aaef

Browse files
committed
Apply code style
1 parent 5b53e99 commit f39aaef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Mixin/UserInterface/Windows/SelectedPhotoInputItemsPreviewWindow.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)