mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
chore: Hide call button for group chats
This commit is contained in:
parent
2cf9ba2cff
commit
fca9175089
@ -113,7 +113,8 @@ class ChatView extends StatelessWidget {
|
|||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
return [
|
return [
|
||||||
if (Matrix.of(context).webrtcIsSupported)
|
if (Matrix.of(context).webrtcIsSupported &&
|
||||||
|
controller.room!.isDirectChat)
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: controller.onPhoneButtonTap,
|
onPressed: controller.onPhoneButtonTap,
|
||||||
icon: const Icon(Icons.call_outlined),
|
icon: const Icon(Icons.call_outlined),
|
||||||
|
Loading…
Reference in New Issue
Block a user