From 64a94e7ab7f17d0c775c9bbb9f708496235140c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Wed, 26 Nov 2025 23:24:08 +0100 Subject: [PATCH] Fix Database.initialize and remove invalid theme param MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add initialize() method as alias for connect() - Remove invalid tab_nav_background_fill theme parameter 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/storage/database.py | 4 ++++ src/ui/theme.py | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/storage/database.py b/src/storage/database.py index cd9e620..b9462c2 100644 --- a/src/storage/database.py +++ b/src/storage/database.py @@ -183,6 +183,10 @@ class Database: logger.info(f"Database connected: {self.db_path}") + async def initialize(self) -> None: + """Alias for connect() for compatibility.""" + await self.connect() + async def close(self) -> None: """Close database connection.""" if self._connection: diff --git a/src/ui/theme.py b/src/ui/theme.py index acc4444..1d077a9 100644 --- a/src/ui/theme.py +++ b/src/ui/theme.py @@ -74,9 +74,6 @@ def create_audiocraft_theme() -> gr.themes.Base: block_title_text_color="#f1f5f9", block_title_text_color_dark="#f1f5f9", - # Tabs - tab_nav_background_fill="#1e293b", - # Sliders slider_color="#3b82f6", slider_color_dark="#3b82f6",