Line truncation

This has no effect on Big Sur, but should hopefully fix #2751 in Catalina.
This commit is contained in:
Stuart Breckenridge 2021-01-22 09:37:28 +08:00
parent 8503582308
commit ddad4220c9
No known key found for this signature in database
GPG Key ID: 1F11FD62007DC331
1 changed files with 4 additions and 0 deletions

View File

@ -170,6 +170,7 @@ struct AddAccountsView: View {
Text(AddAccountSections.local.sectionFooter).foregroundColor(.gray)
.padding(.horizontal)
.lineLimit(3)
.fixedSize(horizontal: false, vertical: true)
}
@ -202,6 +203,7 @@ struct AddAccountsView: View {
Text(AddAccountSections.icloud.sectionFooter).foregroundColor(.gray)
.padding(.horizontal)
.lineLimit(3)
.fixedSize(horizontal: false, vertical: true)
}
}
@ -233,6 +235,7 @@ struct AddAccountsView: View {
Text(AddAccountSections.web.sectionFooter).foregroundColor(.gray)
.padding(.horizontal)
.lineLimit(3)
.fixedSize(horizontal: false, vertical: true)
}
}
@ -261,6 +264,7 @@ struct AddAccountsView: View {
Text(AddAccountSections.selfhosted.sectionFooter).foregroundColor(.gray)
.padding(.horizontal)
.lineLimit(3)
.fixedSize(horizontal: false, vertical: true)
}
}