fix(ui): fix headers alignment
This commit is contained in:
@@ -100,12 +100,10 @@ class StreamChannelInfo extends StatelessWidget {
|
|||||||
return alternativeWidget ?? const Offstage();
|
return alternativeWidget ?? const Offstage();
|
||||||
}
|
}
|
||||||
|
|
||||||
return Align(
|
return StreamTypingIndicator(
|
||||||
child: StreamTypingIndicator(
|
parentId: parentId,
|
||||||
parentId: parentId,
|
style: textStyle,
|
||||||
style: textStyle,
|
alternativeWidget: alternativeWidget,
|
||||||
alternativeWidget: alternativeWidget,
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -186,13 +186,11 @@ class StreamThreadHeader extends StatelessWidget
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 2),
|
const SizedBox(height: 2),
|
||||||
if (showTypingIndicator)
|
if (showTypingIndicator)
|
||||||
Align(
|
StreamTypingIndicator(
|
||||||
child: StreamTypingIndicator(
|
channel: StreamChannel.of(context).channel,
|
||||||
channel: StreamChannel.of(context).channel,
|
style: channelHeaderTheme.subtitleStyle,
|
||||||
style: channelHeaderTheme.subtitleStyle,
|
parentId: parent.id,
|
||||||
parentId: parent.id,
|
alternativeWidget: defaultSubtitle,
|
||||||
alternativeWidget: defaultSubtitle,
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
defaultSubtitle,
|
defaultSubtitle,
|
||||||
|
|||||||
Reference in New Issue
Block a user