mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-03 22:07:23 +01:00 
			
		
		
		
	change: Encrypted by design, all users valid is normal not green
This commit is contained in:
		
							parent
							
								
									eb429267b1
								
							
						
					
					
						commit
						86af401cfc
					
				@ -91,9 +91,8 @@ class _EncryptionButtonState extends State<EncryptionButton> {
 | 
			
		||||
                oneUserInvalid = true;
 | 
			
		||||
              }
 | 
			
		||||
            }
 | 
			
		||||
            color = oneUserInvalid
 | 
			
		||||
                ? Colors.red
 | 
			
		||||
                : (allUsersValid ? Colors.green : Colors.orange);
 | 
			
		||||
            if (oneUserInvalid) color = Colors.red;
 | 
			
		||||
            if (!allUsersValid) color = Colors.orange;
 | 
			
		||||
          } else if (!widget.room.encrypted &&
 | 
			
		||||
              widget.room.joinRules != JoinRules.public) {
 | 
			
		||||
            color = Colors.red;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user