Add read WIFI state support
This commit is contained in:
@@ -94,6 +94,9 @@ public class CommandClient: ObservableObject {
|
||||
|
||||
func connected() {
|
||||
DispatchQueue.main.async { [self] in
|
||||
if commandClient.connectionType == .log {
|
||||
commandClient.logList = []
|
||||
}
|
||||
commandClient.isConnected = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user