diff --git a/IceCubesApp/App/Tabs/Settings/InstanceInfoView.swift b/IceCubesApp/App/Tabs/Settings/InstanceInfoView.swift index f530c388..3ad4356d 100644 --- a/IceCubesApp/App/Tabs/Settings/InstanceInfoView.swift +++ b/IceCubesApp/App/Tabs/Settings/InstanceInfoView.swift @@ -38,7 +38,7 @@ public struct InstanceInfoSection: View { if let rules = instance.rules { Section("instance.info.section.rules") { ForEach(rules) { rule in - Text(rule.text) + Text(rule.text.trimmingCharacters(in: .whitespacesAndNewlines)) } } .listRowBackground(theme.primaryBackgroundColor)