edit view contacts
This commit is contained in:
		
							parent
							
								
									374bd1713b
								
							
						
					
					
						commit
						e6d7258b70
					
				@ -134,20 +134,20 @@ private struct ContactRow: View {
 | 
				
			|||||||
    let contact: Contact
 | 
					    let contact: Contact
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    var body: some View {
 | 
					    var body: some View {
 | 
				
			||||||
        HStack(alignment: .top, spacing: 14) {
 | 
					        HStack(alignment: .top, spacing: 12) {
 | 
				
			||||||
            Circle()
 | 
					            Circle()
 | 
				
			||||||
                .fill(Color.accentColor.opacity(0.15))
 | 
					                .fill(Color.accentColor.opacity(0.15))
 | 
				
			||||||
                .frame(width: 52, height: 52)
 | 
					                .frame(width: 44, height: 44)
 | 
				
			||||||
                .overlay(
 | 
					                .overlay(
 | 
				
			||||||
                    Text(contact.initials)
 | 
					                    Text(contact.initials)
 | 
				
			||||||
                        .font(.headline)
 | 
					                        .font(.headline)
 | 
				
			||||||
                        .foregroundColor(.accentColor)
 | 
					                        .foregroundColor(.accentColor)
 | 
				
			||||||
                )
 | 
					                )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            VStack(alignment: .leading, spacing: 6) {
 | 
					            VStack(alignment: .leading, spacing: 4) {
 | 
				
			||||||
                HStack(alignment: .firstTextBaseline) {
 | 
					                HStack(alignment: .firstTextBaseline) {
 | 
				
			||||||
                    Text(contact.displayName)
 | 
					                    Text(contact.displayName)
 | 
				
			||||||
                        .font(.headline)
 | 
					                        .font(.body.weight(.semibold))
 | 
				
			||||||
                        .foregroundColor(.primary)
 | 
					                        .foregroundColor(.primary)
 | 
				
			||||||
                    Spacer()
 | 
					                    Spacer()
 | 
				
			||||||
                    Text(contact.formattedCreatedAt)
 | 
					                    Text(contact.formattedCreatedAt)
 | 
				
			||||||
@ -167,7 +167,7 @@ private struct ContactRow: View {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
            .frame(maxWidth: .infinity, alignment: .leading)
 | 
					            .frame(maxWidth: .infinity, alignment: .leading)
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        .padding(.vertical, 6)
 | 
					        .padding(.vertical, 8)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private var friendCodeBadge: some View {
 | 
					    private var friendCodeBadge: some View {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user