1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-26 12:58:51 +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() {
return RichText(
text: TextSpan(children: [
TextSpan(text: tr("Requested") + " "),
WidgetSpan(
child: Icon(Icons.access_time, size: 12),
alignment: PlaceholderAlignment.middle),
TextSpan(text: " " + tr("Requested") + " "),
TextSpan(
text: tr("Cancel"),
style: TextStyle(color: Colors.blue),