mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-10 07:02:06 +00:00
fix(momotalk): add missing screenshot when switching sidebar
This commit is contained in:
@@ -102,6 +102,7 @@ class MomoTalkUI(UI):
|
||||
if self.match_color(NOTIFICATION_BADGE, threshold=120):
|
||||
self.ui_ensure(page_momo_talk)
|
||||
while SWITCH_SIDEBAR.get(self) != "message":
|
||||
self.device.screenshot()
|
||||
SWITCH_SIDEBAR.set("message", self)
|
||||
return True
|
||||
logger.warning("No students available for interaction")
|
||||
|
||||
Reference in New Issue
Block a user