mirror of
https://github.com/Lakr233/vphone-cli.git
synced 2026-04-05 04:59:05 +08:00
Update VPhoneWindowController.swift
This commit is contained in:
@@ -36,7 +36,7 @@ class VPhoneWindowController: NSObject, NSToolbarDelegate {
|
||||
|
||||
window.isReleasedWhenClosed = false
|
||||
window.contentAspectRatio = windowSize
|
||||
window.title = "VPHONE-"
|
||||
window.title = "VPHONE ⏳"
|
||||
window.subtitle = ecid ?? ""
|
||||
window.contentView = vmView
|
||||
window.center()
|
||||
@@ -62,7 +62,7 @@ class VPhoneWindowController: NSObject, NSToolbarDelegate {
|
||||
[weak self, weak window] _ in
|
||||
Task { @MainActor in
|
||||
guard let self, let window, let control = self.control else { return }
|
||||
window.title = control.isConnected ? "VPHONE+" : "VPHONE-"
|
||||
window.title = control.isConnected ? "VPHONE 🔗" : "VPHONE ⛓️💥"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user