mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Opt: allow entering page_mail from page_main (#4752)
This commit is contained in:
parent
978167218d
commit
808be69e9e
@ -266,8 +266,8 @@ class MailWhite(UI):
|
||||
logger.info('At page_main_white')
|
||||
pass
|
||||
elif self.appear(page_main.check_button, offset=(5, 5)):
|
||||
logger.warning('At page_main, cannot enter mail page from old UI')
|
||||
return False
|
||||
logger.info('At page_main')
|
||||
pass
|
||||
else:
|
||||
logger.warning('Unknown page_main, cannot enter mail page')
|
||||
return False
|
||||
|
||||
@ -2,6 +2,7 @@ import traceback
|
||||
|
||||
from module.coalition.assets import *
|
||||
from module.event_hospital.assets import HOSIPITAL_CHECK
|
||||
from module.freebies.assets import MAIL_ENTER
|
||||
from module.raid.assets import *
|
||||
from module.retire.assets import DOCK_CHECK
|
||||
from module.ui.assets import *
|
||||
@ -294,6 +295,7 @@ page_mail = Page(MAIL_CHECK)
|
||||
page_mail.link(button=GOTO_MAIN_WHITE, destination=page_main)
|
||||
# Mail enter varies from different UI
|
||||
page_main_white.link(button=MAIL_ENTER_WHITE, destination=page_mail)
|
||||
page_main.link(button=MAIL_ENTER, destination=page_mail)
|
||||
|
||||
# World channel
|
||||
# Both old and new UI have CHANNEL_CHECK
|
||||
|
||||
Loading…
Reference in New Issue
Block a user