chatstab patch
This commit is contained in:
		
							parent
							
								
									ea927d1e78
								
							
						
					
					
						commit
						bef74e4ebd
					
				@ -603,6 +603,7 @@ private struct SearchResultPlaceholderView: View {
 | 
				
			|||||||
private struct ChatRowView: View {
 | 
					private struct ChatRowView: View {
 | 
				
			||||||
    let chat: PrivateChatListItem
 | 
					    let chat: PrivateChatListItem
 | 
				
			||||||
    let currentUserId: String?
 | 
					    let currentUserId: String?
 | 
				
			||||||
 | 
					    let messageLimitLine: Int = 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private var title: String {
 | 
					    private var title: String {
 | 
				
			||||||
        switch chat.chatType {
 | 
					        switch chat.chatType {
 | 
				
			||||||
@ -848,7 +849,7 @@ private struct ChatRowView: View {
 | 
				
			|||||||
                Text(messagePreview)
 | 
					                Text(messagePreview)
 | 
				
			||||||
                    .font(.subheadline)
 | 
					                    .font(.subheadline)
 | 
				
			||||||
                    .foregroundColor(subtitleColor)
 | 
					                    .foregroundColor(subtitleColor)
 | 
				
			||||||
                    .lineLimit(2)
 | 
					                    .lineLimit(messageLimitLine)
 | 
				
			||||||
                    .truncationMode(.tail)
 | 
					                    .truncationMode(.tail)
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            .frame(maxWidth: .infinity, alignment: .leading)
 | 
					            .frame(maxWidth: .infinity, alignment: .leading)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user