fix: task

This commit is contained in:
RedDeadDepresso
2024-01-15 17:45:25 +08:00
committed by YoursFunny
parent a241484e24
commit 151a085a9c
4 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class Task(UI):
self.device.click(CLAIM)
logger.info("Click Claim")
continue
if self.match_color(CLAIMED) and self.match_color(CLAIMED_ALL):
if (self.match_color(CLAIMED) or self.match_color(COMPLETE)) and self.match_color(CLAIMED_ALL):
logger.info("All claimed")
break