mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 04:22:13 +00:00
ui
This commit is contained in:
1 parent
f23f7a403d
commit
062992235a
1 file changed
+3
@@ -824,6 +824,7 @@ struct ChatView: View {
|
||||
Text(chat.chatInfo.displayName)
|
||||
.font(.title3)
|
||||
.multilineTextAlignment(.center)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.lineLimit(2)
|
||||
.frame(maxWidth: 240)
|
||||
let fullName = chat.chatInfo.fullName.trimmingCharacters(in: .whitespacesAndNewlines)
|
||||
@@ -832,6 +833,7 @@ struct ChatView: View {
|
||||
.font(.headline)
|
||||
.fontWeight(.regular)
|
||||
.multilineTextAlignment(.center)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.lineLimit(2)
|
||||
.frame(maxWidth: 260)
|
||||
}
|
||||
@@ -839,6 +841,7 @@ struct ChatView: View {
|
||||
Text(shortDescr)
|
||||
.font(.subheadline)
|
||||
.multilineTextAlignment(.center)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.lineLimit(3)
|
||||
.padding(.horizontal)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user