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

Fix: Handle guild commander change mails

This commit is contained in:
LmeSzinc
2022-12-31 22:49:04 +08:00
parent def197fe93
commit b8bddfeb47
6 changed files with 4 additions and 0 deletions

View File

@@ -52,6 +52,9 @@ class Mail(UI):
if self.appear(MAIL_EMPTY, offset=(20, 20)):
logger.info('Mail list empty')
return False
if self.appear(MAIL_GUILD_MESSAGE, offset=(20, 20)):
logger.info('Guild mail found, exit')
return False
if not delete and self._mail_selected(btn_expanded):
if self.appear(MAIL_COLLECT, offset=(20, 20)):
return True