From 3b71705d2e229e289f9c5bcf72159d1122bdef63 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Thu, 18 Apr 2024 09:42:14 +0200 Subject: [PATCH] design: Fix color of invite button --- lib/pages/chat_details/chat_details_view.dart | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/pages/chat_details/chat_details_view.dart b/lib/pages/chat_details/chat_details_view.dart index 88909fd7e..9ff6af332 100644 --- a/lib/pages/chat_details/chat_details_view.dart +++ b/lib/pages/chat_details/chat_details_view.dart @@ -335,9 +335,12 @@ class ChatDetailsView extends StatelessWidget { ListTile( title: Text(L10n.of(context)!.inviteContact), leading: CircleAvatar( - backgroundColor: - Theme.of(context).colorScheme.primary, - foregroundColor: Colors.white, + backgroundColor: Theme.of(context) + .colorScheme + .primaryContainer, + foregroundColor: Theme.of(context) + .colorScheme + .onPrimaryContainer, radius: Avatar.defaultSize / 2, child: const Icon(Icons.add_outlined), ),