Fix restore

This commit is contained in:
Leon Böttger committed 2025-03-01 18:56:18 +01:00
1 parent 406f1ab78b
commit 0c3ccc278a
4 files changed
+20 -28

No files matched your search

+1 -16
View File
@@ -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()
}
}