Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
glushchenko committed Apr 24, 2022
1 parent 4583b46 commit 0f51218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FSNotes/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuDelegate {

let storyboard = NSStoryboard(name: "Main", bundle: nil)
guard let mainWC = storyboard.instantiateController(withIdentifier: "MainWindowController") as? MainWindowController else {
fatalError("Error getting main window controller")
return
}

if let x = mainWC.window?.frame.origin.x, let y = mainWC.window?.frame.origin.y {
Expand Down

0 comments on commit 0f51218

Please sign in to comment.