mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +08:00
Fix: handle mail reward in mail_delete (#4707)
due to slow network causing get_items slow to appear
This commit is contained in:
@@ -79,6 +79,8 @@ class MailWhite(UI):
|
||||
continue
|
||||
if self.ui_main_appear_then_click(page_mail, offset=(30, 30), interval=3):
|
||||
continue
|
||||
if self._handle_mail_reward():
|
||||
continue
|
||||
|
||||
def _mail_quit(self, skip_first_screenshot=True):
|
||||
"""
|
||||
@@ -197,6 +199,8 @@ class MailWhite(UI):
|
||||
if self.handle_popup_confirm('MAIL_CLAIM'):
|
||||
deleted = True
|
||||
continue
|
||||
if self._handle_mail_reward():
|
||||
continue
|
||||
|
||||
# info_bar appears if mail success to delete and no mail deleted
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user