Skip to content

Commit

Permalink
Revert. The window reopening issue seems to be related to the build e…
Browse files Browse the repository at this point in the history
…nvironment's macOS version.
  • Loading branch information
livid committed Sep 26, 2024
1 parent 49cf61a commit dfb44b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions Planet/PlanetAppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,7 @@ class PlanetAppDelegate: NSObject, NSApplicationDelegate {
}
i = i + 1
}
// NOTE: This is a workaround for Sequoia, please review this code for better solution
// See also: https://github.com/tact/public/issues/31
if (i == 0) {
if let mainWindow = NSApplication.shared.mainWindow {
mainWindow.makeKeyAndOrderFront(self)
}
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion Planet/versioning.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 2259
CURRENT_PROJECT_VERSION = 2260

0 comments on commit dfb44b1

Please sign in to comment.