fix: centered and made online indicator in chat_info_screen.dart smaller

This commit is contained in:
Deven Joshi
2021-01-20 13:31:04 +05:30
parent 9d82134f44
commit 2e12742165
@@ -382,7 +382,7 @@ class _ChatInfoScreenState extends State<ChatInfoScreen> {
child: Container(
padding: const EdgeInsets.symmetric(horizontal: 8.0),
constraints: BoxConstraints.tightFor(
width: 28,
width: 24,
height: 12,
),
child: Material(
@@ -393,6 +393,10 @@ class _ChatInfoScreenState extends State<ChatInfoScreen> {
color: StreamChatTheme.of(context).colorTheme.white,
),
alternativeWidget,
if (widget.user.online)
SizedBox(
width: 24.0,
),
],
);
}