hide sendername in chat
This commit is contained in:
		
							parent
							
								
									fbd6c8893d
								
							
						
					
					
						commit
						c81337646a
					
				@ -123,11 +123,11 @@ struct PrivateChatView: View {
 | 
			
		||||
            if isCurrentUser { Spacer(minLength: 32) }
 | 
			
		||||
 | 
			
		||||
            VStack(alignment: isCurrentUser ? .trailing : .leading, spacing: 6) {
 | 
			
		||||
                if !isCurrentUser {
 | 
			
		||||
                    Text(senderName(for: message))
 | 
			
		||||
                        .font(.caption)
 | 
			
		||||
                        .foregroundColor(.secondary)
 | 
			
		||||
                }
 | 
			
		||||
//                if !isCurrentUser {
 | 
			
		||||
//                    Text(senderName(for: message))
 | 
			
		||||
//                        .font(.caption)
 | 
			
		||||
//                        .foregroundColor(.secondary)
 | 
			
		||||
//                }
 | 
			
		||||
 | 
			
		||||
                Text(contentText(for: message))
 | 
			
		||||
                    .font(.body)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user