mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-18 16:11:29 +08:00
Opt: Match guild pop up handling to predecessor handle_popup_* calls
This commit is contained in:
@@ -123,8 +123,8 @@ class InfoHandler(ModuleBase):
|
|||||||
Guild popup info
|
Guild popup info
|
||||||
"""
|
"""
|
||||||
def handle_guild_popup_confirm(self):
|
def handle_guild_popup_confirm(self):
|
||||||
if self.appear(GUILD_POPUP_CONFIRM, offset=self._popup_offset) \
|
if self.appear(GUILD_POPUP_CANCEL, offset=self._popup_offset) \
|
||||||
and self.appear(GUILD_POPUP_CANCEL, offset=self._popup_offset, interval=2):
|
and self.appear(GUILD_POPUP_CONFIRM, offset=self._popup_offset, interval=2):
|
||||||
self.device.click(GUILD_POPUP_CONFIRM)
|
self.device.click(GUILD_POPUP_CONFIRM)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user