From 73b68cf0b47448b865c4d303f76af9fc9dbd5a92 Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Thu, 17 Feb 2022 21:38:37 +0100 Subject: [PATCH] chore: Hide call button for group chats --- lib/pages/chat/chat_view.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pages/chat/chat_view.dart b/lib/pages/chat/chat_view.dart index b443f90b7..6b103899e 100644 --- a/lib/pages/chat/chat_view.dart +++ b/lib/pages/chat/chat_view.dart @@ -113,7 +113,8 @@ class ChatView extends StatelessWidget { ]; } else { return [ - if (Matrix.of(context).webrtcIsSupported) + if (Matrix.of(context).webrtcIsSupported && + controller.room!.isDirectChat) IconButton( onPressed: controller.onPhoneButtonTap, icon: const Icon(Icons.call_outlined),