Commit 6c3f8801 authored by Nikhil Jha's avatar Nikhil Jha

make it more clear that there are no comments

parent a943839d
......@@ -40,10 +40,12 @@ class CommentViewState extends State<CommentView> {
future: data(),
builder: (context, snapshot) {
if (snapshot.hasData) {
if ( == 0) {
return Center(child: Text("No comments."));
return ListView.builder(
itemBuilder: (context, index) {
return new Container(
child: new Card(
child: new Column(
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment