Socket logic force disconnect/reconnect when server doesn't properly close it

Amended to fix build
This commit is contained in:
maddiebaka
2023-06-27 18:41:22 -04:00
parent 90be4321b0
commit 33068b99a0
4 changed files with 101 additions and 25 deletions
-7
View File
@@ -86,13 +86,6 @@ struct SoyuzMenuBarExtraView: View {
Text("Printers")
.foregroundColor(Color("ButtonForegroundColor"))
}
/* Debugging Stuff */
Button {
notification.sendNotification(.printComplete)
} label: {
Text("Notify")
}
/* Debugging Stuff */
Spacer()
if(printerManager.isConnected) {
Image(systemName: "network")