chore: Webrtc follow up fixes

This commit is contained in:
Christian Pauly 2022-02-17 15:07:29 +01:00
commit 71af35fade
2 changed files with 11 additions and 7 deletions

View file

@ -113,11 +113,12 @@ class ChatView extends StatelessWidget {
];
} else {
return [
IconButton(
onPressed: controller.onPhoneButtonTap,
icon: const Icon(Icons.call_outlined),
tooltip: L10n.of(context)!.placeCall,
),
if (controller.webrtcIsSupported)
IconButton(
onPressed: controller.onPhoneButtonTap,
icon: const Icon(Icons.call_outlined),
tooltip: L10n.of(context)!.placeCall,
),
EncryptionButton(controller.room!),
ChatSettingsPopupMenu(controller.room!, !controller.room!.isDirectChat),
];