1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2026-06-10 02:34:51 +00:00

fix(popup): support another type of network reconnection

This commit is contained in:
2023-11-07 19:14:01 +08:00
parent f7444e29dc
commit 2e4a1f144b
4 changed files with 15 additions and 3 deletions
+2
View File
@@ -65,6 +65,8 @@ class PopupHandler(ModuleBase):
def handle_network_reconnect(self, interval=5) -> bool:
if self.appear_then_click(NETWORK_RECONNECT, interval=interval):
return True
if self.appear_then_click(NETWORK_RECONNECT_OK, interval=interval):
return True
return False