Fix video calls

This commit is contained in:
Christian Pauly 2020-04-09 10:16:38 +02:00
commit c68f64e5ab
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>[

View file

@ -573,6 +573,11 @@
"type": "text",
"placeholders": {}
},
"Edit Jitsi instance": "Jitsi Instanz ändern",
"@Edit Jitsi instance": {
"type": "text",
"placeholders": {}
},
"joinedTheChat": "{username} ist dem Chat beigetreten",
"@joinedTheChat": {
"type": "text",
@ -1167,6 +1172,11 @@
"type": "text",
"placeholders": {}
},
"Video call": "Videoanruf",
"@Video call": {
"type": "text",
"placeholders": {}
},
"Visible for all participants": "Sichtbar für alle Teilnehmer",
"@Visible for all participants": {
"type": "text",

View file

@ -1,5 +1,5 @@
{
"@@last_modified": "2020-04-03T20:17:02.102828",
"@@last_modified": "2020-04-09T10:05:25.548084",
"About": "About",
"@About": {
"type": "text",
@ -573,6 +573,11 @@
"type": "text",
"placeholders": {}
},
"Edit Jitsi instance": "Edit Jitsi instance",
"@Edit Jitsi instance": {
"type": "text",
"placeholders": {}
},
"joinedTheChat": "{username} joined the chat",
"@joinedTheChat": {
"type": "text",
@ -1167,6 +1172,11 @@
"type": "text",
"placeholders": {}
},
"Video call": "Video call",
"@Video call": {
"type": "text",
"placeholders": {}
},
"Visible for all participants": "Visible for all participants",
"@Visible for all participants": {
"type": "text",

View file

@ -178,6 +178,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Displayname has been changed" : MessageLookupByLibrary.simpleMessage("Anzeigename wurde geändert"),
"Donate" : MessageLookupByLibrary.simpleMessage("Spenden"),
"Download file" : MessageLookupByLibrary.simpleMessage("Datei herunterladen"),
"Edit Jitsi instance" : MessageLookupByLibrary.simpleMessage("Jitsi Instanz ändern"),
"Edit displayname" : MessageLookupByLibrary.simpleMessage("Anzeigename ändern"),
"Empty chat" : MessageLookupByLibrary.simpleMessage("Leerer Chat"),
"Encryption algorithm" : MessageLookupByLibrary.simpleMessage("Verschlüsselungsalgorithmus"),
@ -279,6 +280,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Use Amoled compatible colors?" : MessageLookupByLibrary.simpleMessage("Amoled optimierte Farben verwenden?"),
"Username" : MessageLookupByLibrary.simpleMessage("Benutzername"),
"Verify" : MessageLookupByLibrary.simpleMessage("Bestätigen"),
"Video call" : MessageLookupByLibrary.simpleMessage("Videoanruf"),
"Visibility of the chat history" : MessageLookupByLibrary.simpleMessage("Sichtbarkeit des Chat-Verlaufs"),
"Visible for all participants" : MessageLookupByLibrary.simpleMessage("Sichtbar für alle Teilnehmer"),
"Visible for everyone" : MessageLookupByLibrary.simpleMessage("Für jeden sichtbar"),

View file

@ -178,6 +178,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Displayname has been changed" : MessageLookupByLibrary.simpleMessage("Displayname has been changed"),
"Donate" : MessageLookupByLibrary.simpleMessage("Donate"),
"Download file" : MessageLookupByLibrary.simpleMessage("Download file"),
"Edit Jitsi instance" : MessageLookupByLibrary.simpleMessage("Edit Jitsi instance"),
"Edit displayname" : MessageLookupByLibrary.simpleMessage("Edit displayname"),
"Empty chat" : MessageLookupByLibrary.simpleMessage("Empty chat"),
"Encryption algorithm" : MessageLookupByLibrary.simpleMessage("Encryption algorithm"),
@ -279,6 +280,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Use Amoled compatible colors?" : MessageLookupByLibrary.simpleMessage("Use Amoled compatible colors?"),
"Username" : MessageLookupByLibrary.simpleMessage("Username"),
"Verify" : MessageLookupByLibrary.simpleMessage("Verify"),
"Video call" : MessageLookupByLibrary.simpleMessage("Video call"),
"Visibility of the chat history" : MessageLookupByLibrary.simpleMessage("Visibility of the chat history"),
"Visible for all participants" : MessageLookupByLibrary.simpleMessage("Visible for all participants"),
"Visible for everyone" : MessageLookupByLibrary.simpleMessage("Visible for everyone"),