mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2026-08-15 13:03:08 +00:00
[ci] auto-format
This commit is contained in:
parent
8fe514c2b7
commit
5273a71251
1 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue