fix: removed online indicator on group info screen modal

This commit is contained in:
Deven Joshi
2021-01-20 13:23:56 +05:30
parent f040231541
commit 9d82134f44
@@ -938,28 +938,7 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
}
}
return Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
if (user.online)
Material(
type: MaterialType.circle,
child: Container(
padding: const EdgeInsets.symmetric(horizontal: 8.0),
constraints: BoxConstraints.tightFor(
width: 28,
height: 12,
),
child: Material(
shape: CircleBorder(),
color: Color(0xff20E070),
),
),
color: StreamChatTheme.of(context).colorTheme.white,
),
alternativeWidget,
],
);
return alternativeWidget;
}
Widget _buildModalListTile(