mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-17 12:46:40 +00:00
Trim whitespace and newlines in instance rules list (#956)
This commit is contained in:
parent
3038225371
commit
2508f98ce1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue