mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-29 11:03:18 +00:00
19 lines
822 B
Python
19 lines
822 B
Python
from module.config.server import VALID_LANG
|
|
from tasks.assignment.assets.assets_assignment_ui import (
|
|
CHARACTER_MATERIALS_CHECK, CHARACTER_MATERIALS_CLICK,
|
|
EXP_MATERIALS_CREDITS_CHECK, EXP_MATERIALS_CREDITS_CLICK, GROUP_SEARCH,
|
|
SPACE_STATION_TASK_FORCE_CHECK, SPACE_STATION_TASK_FORCE_CLICK,
|
|
SYNTHESIS_MATERIALS_CHECK, SYNTHESIS_MATERIALS_CLICK)
|
|
|
|
for group_button_wrapper in (
|
|
SPACE_STATION_TASK_FORCE_CHECK, SPACE_STATION_TASK_FORCE_CLICK,
|
|
CHARACTER_MATERIALS_CHECK, CHARACTER_MATERIALS_CLICK,
|
|
EXP_MATERIALS_CREDITS_CHECK, EXP_MATERIALS_CREDITS_CLICK,
|
|
SYNTHESIS_MATERIALS_CHECK, SYNTHESIS_MATERIALS_CLICK,
|
|
):
|
|
for lang in VALID_LANG:
|
|
button = getattr(group_button_wrapper, lang, None)
|
|
if button is None:
|
|
continue
|
|
button.search = GROUP_SEARCH.button
|