1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-22 00:09:18 +08:00

Add: Research to GUI

- Opt: Faster page switch in reward
This commit is contained in:
LmeSzinc
2020-07-17 09:28:11 +08:00
parent 1ff8a05014
commit 567c4a790a
10 changed files with 102 additions and 17 deletions

View File

@@ -652,12 +652,12 @@ class RewardCommission(UI, InfoHandler):
"""
if not self.config.ENABLE_COMMISSION_REWARD:
return False
self.device.screenshot()
if not self.appear(COMMISSION_HAS_PENDING):
logger.info('No commission pending')
return False
self.ui_goto(page_commission)
self.ui_goto(page_commission, skip_first_screenshot=True)
self.commission_start()