Created
          April 9, 2024 22:14 
        
      - 
      
- 
        Save apatronl/8c3b061ece6a1b09a133ab8c25dfd077 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | struct MessageCell: View { | |
| let message: Message | |
| var body: some View { | |
| HStack { | |
| if message.role == .sender { Spacer() } | |
| MessageBubble(message: message) | |
| if message.role == .receiver { Spacer() } | |
| } | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment