Skip to content

Commit

Permalink
fix dark mode in localization helper for new version of textual
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Dec 15, 2024
1 parent 9062a9f commit d0903d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/localization_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def compose(self) -> ComposeResult:
@override
def action_toggle_dark(self) -> None:
"""An action to toggle dark mode."""
self.dark = not self.dark
self.theme = "textual-dark" if self.theme == "textual-light" else "textual-light"

@work
async def action_popup_keydiff(self) -> None:
Expand Down

0 comments on commit d0903d9

Please sign in to comment.