fix: Fixed shimmer overflow (#316)

This commit is contained in:
Deven Joshi
2021-03-05 11:49:17 +01:00
committed by GitHub
parent cef1b56c58
commit 8b3c46527f
@@ -393,16 +393,17 @@ class _ChannelListViewState extends State<ChannelListView> {
subtitle: Row( subtitle: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
Align( Expanded(
alignment: Alignment.centerLeft, child: Align(
child: Container( alignment: Alignment.centerLeft,
decoration: BoxDecoration( child: Container(
color: StreamChatTheme.of(context).colorTheme.white, decoration: BoxDecoration(
borderRadius: BorderRadius.circular(11), color: StreamChatTheme.of(context).colorTheme.white,
), borderRadius: BorderRadius.circular(11),
constraints: BoxConstraints.tightFor( ),
height: 16, constraints: BoxConstraints.expand(
width: 238, height: 16,
),
), ),
), ),
), ),