fix: disable close_popup() for jp to fix ensure_page()

This commit is contained in:
2026-08-05 17:41:16 +08:00
parent acddb456ff
commit 79126c891a
+6
View File
@@ -450,6 +450,11 @@ class UI(MainPage):
""" """
pass pass
@Config.when(Emulator_GameLanguage='jp')
def close_popup(self, check_button):
pass
@Config.when(Emulator_GameLanguage=None)
def close_popup(self, check_button): def close_popup(self, check_button):
if not self.match_color(check_button): if not self.match_color(check_button):
timer = Timer(5, 5).start() timer = Timer(5, 5).start()
@@ -464,3 +469,4 @@ class UI(MainPage):
raise RequestHumanTakeover raise RequestHumanTakeover
while not wait.reached(): while not wait.reached():
pass pass