mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Add call button
This commit is contained in:
parent
5be678615c
commit
5bca30b634
@ -25,11 +25,22 @@ class GroupConversationSection extends StatelessWidget {
|
||||
),
|
||||
Positioned(
|
||||
right: 1.0,
|
||||
child: IconButton(
|
||||
child: Row(
|
||||
children: [
|
||||
conv.callCapabilities != CallCapabilities.NONE
|
||||
? IconButton(
|
||||
icon: Icon(Icons.phone),
|
||||
onPressed: () =>
|
||||
MainController.of(context).startCall(conv.id),
|
||||
)
|
||||
: Container(),
|
||||
IconButton(
|
||||
icon: Icon(Icons.settings),
|
||||
onPressed: () => MainController.of(context)
|
||||
.openConversationSettingsRoute(conv),
|
||||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
],
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user