Skip to content

Commit 55e33be

Browse files
committed
fix bug
1 parent b7b4f62 commit 55e33be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl Api {
6565
}
6666
pub fn is_connected(&self) -> bool {
6767
let status: String = self.status();
68-
if status == "Connecting" {
68+
if status == "Connecting" || status == "Connected" {
6969
return true;
7070
}
7171
false

0 commit comments

Comments
 (0)