Fix video calls

This commit is contained in:
Christian Pauly
2020-04-09 10:16:38 +02:00
parent ca8edac132
commit 38a17c49b9
7 changed files with 52 additions and 33 deletions

View File

@ -373,19 +373,20 @@ class MatrixState extends State<Matrix> {
showDialog(
context: context,
builder: (context) => AlertDialog(
title: ListTile(
contentPadding: EdgeInsets.all(0),
leading: Avatar(senderAvatar, senderName),
title: Text(
senderName,
style: TextStyle(fontSize: 18),
),
subtitle:
event.room.isDirectChat ? null : Text(event.room.displayname),
),
title: Text(I18n.of(context).videoCall),
content: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
ListTile(
contentPadding: EdgeInsets.all(0),
leading: Avatar(senderAvatar, senderName),
title: Text(
senderName,
style: TextStyle(fontSize: 18),
),
subtitle:
event.room.isDirectChat ? null : Text(event.room.displayname),
),
Divider(),
Row(
children: <Widget>[