Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
odudex committed Jun 30, 2024
1 parent 834ac08 commit 67ede42
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/krux/pages/settings_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,9 @@ def category_setting(self, settings_namespace, setting):
self.ctx.display.clear()
self.ctx.power_manager.reboot()
return MENU_EXIT # In case reboot fails
else:
# Restore previous theme
setting.__set__(settings_namespace, starting_category)
theme.update()
# Restore previous theme
setting.__set__(settings_namespace, starting_category)
theme.update()

return MENU_CONTINUE

Expand Down

0 comments on commit 67ede42

Please sign in to comment.