Merge branch 'krille/direct-chat-calls' into 'main'
chore: Hide call button for group chats See merge request famedly/fluffychat!748
This commit is contained in:
commit
0e55c50c34
1 changed files with 2 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue