update chetchik
This commit is contained in:
parent
9172a0b353
commit
7015ccd41f
@ -625,6 +625,14 @@ struct PrivateChatView: View {
|
||||
.padding(.bottom, 10)
|
||||
.frame(maxWidth: .infinity, minHeight: 40, alignment: .bottomLeading)
|
||||
|
||||
HStack{
|
||||
if draftText.count > 2047 {
|
||||
Text("\(draftText.count) / \(viewModel.maxMessageLength)")
|
||||
.font(.caption2)
|
||||
.fontWeight(.medium)
|
||||
.foregroundColor(draftText.count > viewModel.maxMessageLength ? .red : .secondary)
|
||||
}
|
||||
|
||||
Button(action: { }) { // переключатель на стикеры
|
||||
Image(systemName: "face.smiling")
|
||||
.font(.system(size: 18, weight: .semibold))
|
||||
@ -632,6 +640,7 @@ struct PrivateChatView: View {
|
||||
}
|
||||
.padding(.trailing, 12)
|
||||
.padding(.bottom, 10)
|
||||
}
|
||||
|
||||
// if draftText.count > 300 {
|
||||
// Text("\(draftText.count) / \(viewModel.maxMessageLength)")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user