mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 02:51:11 +00:00
If file transfer ends with error, close plus view
This commit is contained in:
1 parent
653fbeb096
commit
f6452de763
1 file changed
+5
@@ -326,6 +326,11 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
|
||||
alert.addButton(withTitle: "InformDeveloper".localized())
|
||||
alert.addButton(withTitle: "CloseAlert".localized())
|
||||
|
||||
if let plusWindow = plusWindow {
|
||||
log("Closing plus screen because of error")
|
||||
self.plusWindow?.close()
|
||||
}
|
||||
|
||||
log("Showing alert with message: \"\(alert.messageText)\" and description: \"\(alert.informativeText)\"")
|
||||
|
||||
let result = alert.runModal()
|
||||
|
||||
Reference in new issue
Block a user