From 5273a71251d1a36a965a96eb17aa4092b15d8b53 Mon Sep 17 00:00:00 2001 From: Loup-Garou911XD <90267658+Loup-Garou911XD@users.noreply.github.com> Date: Thu, 18 Dec 2025 07:00:58 +0000 Subject: [PATCH] [ci] auto-format --- plugins/utilities/store_event_specials.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/utilities/store_event_specials.py b/plugins/utilities/store_event_specials.py index f0faed6..bca8251 100644 --- a/plugins/utilities/store_event_specials.py +++ b/plugins/utilities/store_event_specials.py @@ -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) -