From 46fa15fcfead0716da8feb62c9c0abd391ae56f3 Mon Sep 17 00:00:00 2001 From: Kharec Date: Tue, 16 Dec 2025 02:58:57 +0100 Subject: [PATCH] clean: remove dark/light toggle --- auditui/app.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/auditui/app.py b/auditui/app.py index a81636f..3bb53af 100644 --- a/auditui/app.py +++ b/auditui/app.py @@ -28,8 +28,9 @@ if TYPE_CHECKING: class Auditui(App): """Main application class for the Audible TUI app.""" + theme = "textual-dark" + BINDINGS = [ - ("d", "toggle_dark", "Light/Dark mode"), ("n", "sort", "Sort by name"), ("p", "sort_by_progress", "Sort by progress"), ("a", "show_all", "All/unfinished"), @@ -196,12 +197,6 @@ class Auditui(App): self.all_items, self.library_client) self._populate_table(unfinished_items) - def action_toggle_dark(self) -> None: - """Toggle between dark and light theme.""" - self.theme = ( - "textual-dark" if self.theme == "textual-light" else "textual-light" - ) - def action_sort(self) -> None: """Sort table by title, toggling direction on each press.""" table = self.query_one(DataTable)