mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-22 06:15:59 +00:00
Fix restore
This commit is contained in:
1 parent
406f1ab78b
commit
0c3ccc278a
4 files changed
+20
-28
No files matched your search
@@ -273,23 +273,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, MainAppDelegate{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
struct TransferInfo {
|
||||
let device: RemoteDeviceInfo
|
||||
let transfer: TransferMetadata
|
||||
}
|
||||
|
||||
class WindowDelegate: NSObject, NSWindowDelegate {
|
||||
|
||||
let willClose: () -> Void
|
||||
|
||||
init(willClose: @escaping () -> Void) {
|
||||
self.willClose = willClose
|
||||
}
|
||||
|
||||
|
||||
func windowWillClose(_ notification: Notification) {
|
||||
print("Window closed!")
|
||||
// Perform any cleanup or state updates here
|
||||
willClose()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user