Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tsynik committed Jan 27, 2023
1 parent 944e426 commit bafae98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Yandex Music/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ extension MainViewController: EventHelper.Target {
extension MainViewController: NSWindowDelegate {

func windowShouldClose(_ sender: NSWindow) -> Bool {
NSApplication.shared.terminate(self)
return true
NSApp.hide(nil)
return false
}

}

0 comments on commit bafae98

Please sign in to comment.