Skip to content

Commit 33b53df

Browse files
committed
small fix
1 parent 0f99d9e commit 33b53df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/message/message_view.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class MessageViewState extends State<MessageView> {
120120
@override
121121
Widget build(BuildContext context) => Column(
122122
children: [
123-
if (rootPosition >= 0 && rootPosition < ChatController.instance.root.chain.length - maxMessages)
123+
if (rootPosition < ChatController.instance.root.chain.length - maxMessages)
124124
buildClearButton(),
125125
Expanded(
126126
child: buildSettingsListener()

0 commit comments

Comments
 (0)