1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2024-12-27 09:14:15 +01:00

Limit account-name to one line (IOS-37)

This commit is contained in:
Nathan Mattes 2023-03-27 22:38:24 +02:00
parent 7b59fdf3bc
commit 741456ede6

View File

@ -27,6 +27,7 @@ struct HashtagWidgetView: View {
.font(.caption) .font(.caption)
.fontWeight(.semibold) .fontWeight(.semibold)
.foregroundColor(.secondary) .foregroundColor(.secondary)
.lineLimit(1)
Text(entry.hashtag.account) Text(entry.hashtag.account)
.lineLimit(1) .lineLimit(1)
.font(.caption) .font(.caption)