mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 06:17:26 +01:00 
			
		
		
		
	Merge branch 'widgets-fix-contrast' into 'main'
[widgets] Fix color contrast on display names on messages in dark mode Closes #372 See merge request famedly/fluffychat!412
This commit is contained in:
		
						commit
						0077c7eed7
					
				@ -242,7 +242,10 @@ class _MetaRow extends StatelessWidget {
 | 
			
		||||
            style: TextStyle(
 | 
			
		||||
              fontSize: 11 * AppConfig.fontSizeFactor,
 | 
			
		||||
              fontWeight: FontWeight.bold,
 | 
			
		||||
              color: displayname.color.withAlpha(200),
 | 
			
		||||
              color: (Theme.of(context).brightness == Brightness.light
 | 
			
		||||
                      ? displayname.darkColor
 | 
			
		||||
                      : displayname.lightColor)
 | 
			
		||||
                  .withAlpha(200),
 | 
			
		||||
            ),
 | 
			
		||||
          ),
 | 
			
		||||
        if (showDisplayname) SizedBox(width: 4),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user