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