1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 21:09:21 +00:00

Add an icon to the requested state

This commit is contained in:
Pierre HUBERT 2020-04-15 14:07:50 +02:00
parent 2c9dc5199c
commit cd677deec0

View File

@ -57,7 +57,10 @@ class _GroupMembershipWidgetState extends SafeState<GroupMembershipWidget> {
Widget _buildPendingState() { Widget _buildPendingState() {
return RichText( return RichText(
text: TextSpan(children: [ text: TextSpan(children: [
TextSpan(text: tr("Requested") + " "), WidgetSpan(
child: Icon(Icons.access_time, size: 12),
alignment: PlaceholderAlignment.middle),
TextSpan(text: " " + tr("Requested") + " "),
TextSpan( TextSpan(
text: tr("Cancel"), text: tr("Cancel"),
style: TextStyle(color: Colors.blue), style: TextStyle(color: Colors.blue),