design: Improve encryption UX

This commit is contained in:
Christian Pauly 2021-02-27 10:41:58 +01:00
commit 2072566956
4 changed files with 121 additions and 67 deletions

View file

@ -659,11 +659,12 @@ class _ChatState extends State<Chat> {
),
]
: <Widget>[
IconButton(
tooltip: L10n.of(context).videoCall,
icon: Icon(Icons.video_call_outlined),
onPressed: () => startCallAction(context),
),
if (room.canSendDefaultMessages)
IconButton(
tooltip: L10n.of(context).videoCall,
icon: Icon(Icons.video_call_outlined),
onPressed: () => startCallAction(context),
),
ChatSettingsPopupMenu(room, !room.isDirectChat),
],
),