Don't change color of dm title when button is disabled (#3393)
This commit is contained in:
parent
678e8fc414
commit
423b84cfdb
1 changed files with 4 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue