mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-21 13:55:58 +00:00
Fix cant close qr if opened manually
This commit is contained in:
1 parent
b5d1233778
commit
8ebebbda15
1 file changed
+2
@@ -151,6 +151,7 @@ class ShareViewController: NSViewController, ShareExtensionDelegate{
|
|||||||
|
|
||||||
|
|
||||||
private func openQrCodeView() {
|
private func openQrCodeView() {
|
||||||
|
if qrCodeSheetView != nil {
|
||||||
let contentView = QrCodeView {
|
let contentView = QrCodeView {
|
||||||
self.closeQrCodeView()
|
self.closeQrCodeView()
|
||||||
}
|
}
|
||||||
@@ -173,6 +174,7 @@ class ShareViewController: NSViewController, ShareExtensionDelegate{
|
|||||||
mainWindow.beginSheet(panel) { _ in }
|
mainWindow.beginSheet(panel) { _ in }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
private func closeQrCodeView() {
|
private func closeQrCodeView() {
|
||||||
|
|||||||
Reference in new issue
Block a user