mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-27 07:52:03 +00:00
fix(tui-v3): fix SyntaxError in settings screen string literals
This commit is contained in:
1 parent
abb60845f4
commit
3b4e3c481e
1 file changed
+2
-4
@@ -102,8 +102,7 @@ class SettingsScreen(Screen):
|
||||
for row in rows:
|
||||
lines.append(f"│ {row:<{width-4}} │")
|
||||
lines.append("└" + "─" * (width - 2) + "┘")
|
||||
return "
|
||||
".join(lines)
|
||||
return "\n".join(lines)
|
||||
|
||||
rendered_lines = [
|
||||
render_card("SECURITY & AUTHENTICATION", security_rows),
|
||||
@@ -113,6 +112,5 @@ class SettingsScreen(Screen):
|
||||
render_card("CONNECTIVITY & NOSTR SYNC", nostr_rows),
|
||||
]
|
||||
|
||||
self.query_one("#settings-content", Static).update("
|
||||
".join(rendered_lines))
|
||||
self.query_one("#settings-content", Static).update("\n".join(rendered_lines))
|
||||
self.app.notify("Settings reloaded")
|
||||
Reference in new issue
Block a user