Remove unused code, minor style changes

This commit is contained in:
Arkadiusz Fal
2021-12-20 00:36:12 +01:00
parent 0a5cb5b542
commit ea90f650d8
27 changed files with 74 additions and 114 deletions

View File

@@ -32,7 +32,7 @@ enum OpenWindow: String, CaseIterable {
func open() {
switch self {
case .player:
NSWorkspace.shared.open(URL(string: "yattee://player")!)
NSWorkspace.shared.open(URL(string: "yattee://\(location)")!)
case .main:
Self.main.focus()
}