mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-03 22:07:23 +01:00 
			
		
		
		
	fix: Encryption button is orange in public rooms
This commit is contained in:
		
							parent
							
								
									99b0ee194c
								
							
						
					
					
						commit
						b65357576c
					
				@ -33,8 +33,9 @@ class EncryptionButton extends StatelessWidget {
 | 
			
		||||
                        color: room.joinRules != JoinRules.public &&
 | 
			
		||||
                                !room.encrypted
 | 
			
		||||
                            ? Colors.red
 | 
			
		||||
                            : snapshot.data ==
 | 
			
		||||
                                    EncryptionHealthState.unverifiedDevices
 | 
			
		||||
                            : room.joinRules != JoinRules.public &&
 | 
			
		||||
                                    snapshot.data ==
 | 
			
		||||
                                        EncryptionHealthState.unverifiedDevices
 | 
			
		||||
                                ? Colors.orange
 | 
			
		||||
                                : null),
 | 
			
		||||
                    onPressed: () => VRouter.of(context)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user