[ci] auto-format

This commit is contained in:
Loup-Garou911XD 2025-12-18 07:00:58 +00:00 committed by github-actions[bot]
parent 8fe514c2b7
commit 5273a71251

View file

@ -65,16 +65,18 @@ def modified_get_store_layout() -> Dict[str, List[Dict[str, Any]]]:
class Main(babase.Plugin):
def on_app_running(self) -> None:
bui.app.classic.store.get_store_layout = modified_get_store_layout
def has_settings_ui(self):
return True
def show_settings_ui(self, button):
try:
main_window = UIV1AppSubsystem().get_main_window()
if main_window:
main_window.main_window_replace(lambda:StoreBrowserWindow(
main_window.main_window_replace(lambda: StoreBrowserWindow(
show_tab=StoreBrowserWindow.TabID.MINIGAMES,
origin_widget=button,
)
)
)
else:
StoreBrowserWindow(
@ -83,4 +85,3 @@ class Main(babase.Plugin):
)
except Exception as e:
print(e)