Don't change color of dm title when button is disabled (#3393)

This commit is contained in:
Kelrap 2025-07-10 11:58:54 -04:00 committed by GitHub
parent 678e8fc414
commit 423b84cfdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -160,6 +160,8 @@ class PangeaChatDetailsView extends StatelessWidget {
style: TextButton.styleFrom(
foregroundColor:
theme.colorScheme.onSurface,
disabledForegroundColor:
theme.colorScheme.onSurface,
),
label: Text(
room.isDirectChat
@ -183,6 +185,8 @@ class PangeaChatDetailsView extends StatelessWidget {
style: TextButton.styleFrom(
foregroundColor:
theme.colorScheme.secondary,
disabledForegroundColor:
theme.colorScheme.onSurface,
),
label: Text(
L10n.of(context).countParticipants(