fix(tui-v3): fix SyntaxError in settings screen string literals

This commit is contained in:
thePR0M3TH3AN committed 2026-03-02 23:04:23 -05:00
1 parent abb60845f4
commit 3b4e3c481e
1 file changed
+2 -4
+2 -4
View File
@@ -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")