fix(task): 修复培育结束后可能卡在升级界面

This commit is contained in:
XcantloadX 2025-02-18 15:53:41 +08:00
parent 04c3d4c20e
commit 8f44aeed38
2 changed files with 2 additions and 1 deletions

View File

@ -682,8 +682,9 @@ def produce_end():
# [screenshots/produce_end/end_activity.png]
# [screenshots/produce_end/end_activity1.png]
# [screenshots/produce_end/end_follow.png]
# [screenshots/produce_end/end_level_up.png]
while not at_home():
if image.find(R.Common.ButtonClose):
if image.find(R.Common.ButtonIconClose):
logger.info("Activity award claim dialog found. Click to close.")
device.click()
elif image.find(R.Common.ButtonNextNoIcon, colored=True):

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 KiB