1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Add: USE_DATA_KEY_NOTIFIED action to remove pop up in subsequent runs

This commit is contained in:
nEEtdo0d
2021-01-30 11:52:04 -05:00
parent 4d356b27d9
commit fd61568ad0
6 changed files with 2 additions and 0 deletions

View File

@@ -115,6 +115,8 @@ class InfoHandler(ModuleBase):
return False
if self.appear(USE_DATA_KEY, offset=(20, 20)):
self.device.click(USE_DATA_KEY_NOTIFIED)
self.device.sleep((0.5, 0.8))
return self.handle_popup_confirm('USE_DATA_KEY')
return False