change: Move video call button to menu

This commit is contained in:
Krille Fear 2021-11-19 10:33:26 +01:00
commit 42fa6164e4
3 changed files with 15 additions and 6 deletions

View file

@ -80,6 +80,18 @@ class ChatInputRow extends StatelessWidget {
onSelected: controller.onAddPopupMenuButtonSelected,
itemBuilder: (BuildContext context) =>
<PopupMenuEntry<String>>[
PopupMenuItem<String>(
value: 'videocall',
child: ListTile(
leading: const CircleAvatar(
backgroundColor: Colors.blueGrey,
foregroundColor: Colors.white,
child: Icon(Icons.video_call_outlined),
),
title: Text(L10n.of(context).videoCall),
contentPadding: const EdgeInsets.all(0),
),
),
PopupMenuItem<String>(
value: 'file',
child: ListTile(