-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChannelListView NULL error when a channel has no messages #6
Labels
bug
Something isn't working
Comments
6 tasks
5 tasks
2 tasks
6 tasks
6 tasks
1 task
1 task
1 task
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When creating a new channel (for example, from the CLI), that does not have any messages in the channel, will cause
ChannelListView
widget to throw an error as there are no checks to see if the channel message list is empty.There needs to some validation to make sure there are messages, before calling:
final lastMessageAt = snapshot.data.toLocal();
in "channel_preview.dart"The text was updated successfully, but these errors were encountered: