mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Remove unused code, minor style changes
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user