mirror of
https://github.com/marcusDenslow/terminalShop.git
synced 2026-10-25 02:52:20 +02:00
fix(tui): remove horrible code that was taking up space
This commit is contained in:
@@ -678,7 +678,7 @@ func (m Model) PrivacyView(width int) string {
|
||||
},
|
||||
}
|
||||
|
||||
out := bodyStyle.Render(wordWrap("", width))
|
||||
out := ""
|
||||
for _, s := range sections {
|
||||
out += labelStyle.Render(s.title) + "\n"
|
||||
out += bodyStyle.Render(wordWrap(s.body, width)) + "\n\n"
|
||||
|
||||
Reference in New Issue
Block a user