forked from cwtch.im/cwtch-ui
fmt
This commit is contained in:
parent
222e2c6f36
commit
0cdf18df79
|
@ -84,18 +84,18 @@ class _MessageViewState extends State<MessageView> {
|
||||||
var appBarButtons = <Widget>[];
|
var appBarButtons = <Widget>[];
|
||||||
if (Provider.of<ContactInfoState>(context).isOnline()) {
|
if (Provider.of<ContactInfoState>(context).isOnline()) {
|
||||||
if (Platform.isAndroid == false) {
|
if (Platform.isAndroid == false) {
|
||||||
appBarButtons.add(IconButton(
|
|
||||||
icon: Icon(Icons.attach_file, size: 24),
|
|
||||||
tooltip: AppLocalizations.of(context)!.tooltipSendFile,
|
|
||||||
onPressed: _showFilePicker,
|
|
||||||
));
|
|
||||||
}
|
|
||||||
appBarButtons.add(IconButton(
|
appBarButtons.add(IconButton(
|
||||||
icon: Icon(CwtchIcons.send_invite, size: 24),
|
icon: Icon(Icons.attach_file, size: 24),
|
||||||
tooltip: AppLocalizations.of(context)!.sendInvite,
|
tooltip: AppLocalizations.of(context)!.tooltipSendFile,
|
||||||
onPressed: () {
|
onPressed: _showFilePicker,
|
||||||
_modalSendInvitation(context);
|
));
|
||||||
}));
|
}
|
||||||
|
appBarButtons.add(IconButton(
|
||||||
|
icon: Icon(CwtchIcons.send_invite, size: 24),
|
||||||
|
tooltip: AppLocalizations.of(context)!.sendInvite,
|
||||||
|
onPressed: () {
|
||||||
|
_modalSendInvitation(context);
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
appBarButtons.add(IconButton(
|
appBarButtons.add(IconButton(
|
||||||
icon: Provider.of<ContactInfoState>(context, listen: false).isGroup == true ? Icon(CwtchIcons.group_settings_24px) : Icon(CwtchIcons.peer_settings_24px),
|
icon: Provider.of<ContactInfoState>(context, listen: false).isGroup == true ? Icon(CwtchIcons.group_settings_24px) : Icon(CwtchIcons.peer_settings_24px),
|
||||||
|
|
Loading…
Reference in New Issue