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

Fix: Leave memories tab (fixed #3956)

This commit is contained in:
LmeSzinc
2024-07-03 22:46:41 +08:00
parent 1bda94335a
commit 67073bad07
10 changed files with 7 additions and 0 deletions

View File

@@ -542,6 +542,11 @@ class UI(InfoHandler):
self.device.click(REWARD_GOTO_MAIN)
self.get_interval_timer(IDLE).reset()
return True
# Switch on ui_white, no offset just color match
if self.appear(MAIN_GOTO_MEMORIES_WHITE, interval=3):
logger.info(f'UI additional: {MAIN_GOTO_MEMORIES_WHITE} -> {MAIN_TAB_SWITCH_WHITE}')
self.device.click(MAIN_TAB_SWITCH_WHITE)
return True
return False