design: Redesign chat app bar
This commit is contained in:
parent
e5587fdea3
commit
472783c306
4 changed files with 46 additions and 44 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue