mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
💄
This commit is contained in:
parent
794a1a5452
commit
79e3d5712d
@ -27,7 +27,12 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
disconnect()
|
||||
}
|
||||
|
||||
override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
|
||||
override func observeValue(
|
||||
forKeyPath keyPath: String?,
|
||||
of object: Any?,
|
||||
change: [NSKeyValueChangeKey : Any]?,
|
||||
context: UnsafeMutableRawPointer?
|
||||
) {
|
||||
switch keyPath {
|
||||
case "mpdHost", "mpdPort":
|
||||
disconnect()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user