mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 06:17:26 +01:00 
			
		
		
		
	Merge branch 'soru/empty-room' into 'main'
fix: Empty timelines crashing the room view See merge request famedly/fluffychat!488
This commit is contained in:
		
						commit
						ff45b17227
					
				@ -305,9 +305,12 @@ class ChatView extends StatelessWidget {
 | 
			
		||||
                                                        milliseconds: 300),
 | 
			
		||||
                                                alignment: controller
 | 
			
		||||
                                                            .filteredEvents
 | 
			
		||||
                                                            .first
 | 
			
		||||
                                                            .senderId ==
 | 
			
		||||
                                                        client.userID
 | 
			
		||||
                                                            .isNotEmpty &&
 | 
			
		||||
                                                        controller
 | 
			
		||||
                                                                .filteredEvents
 | 
			
		||||
                                                                .first
 | 
			
		||||
                                                                .senderId ==
 | 
			
		||||
                                                            client.userID
 | 
			
		||||
                                                    ? Alignment.topRight
 | 
			
		||||
                                                    : Alignment.topLeft,
 | 
			
		||||
                                                padding: EdgeInsets.only(
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user