design: Redesign chat app bar

This commit is contained in:
Christian Pauly 2022-02-17 12:52:58 +01:00
commit 472783c306
4 changed files with 46 additions and 44 deletions

View file

@ -112,14 +112,7 @@ class ChatView extends StatelessWidget {
),
];
} else {
final widgets = controller.room?.widgets ?? [];
return [
if (widgets.isNotEmpty)
IconButton(
onPressed: controller.showWidgetsSheet,
icon: const Icon(Icons.widgets),
tooltip: L10n.of(context)!.matrixWidgets,
),
IconButton(
onPressed: controller.onPhoneButtonTap,
icon: const Icon(Icons.call_outlined),