Skip to content

Commit

Permalink
remove preview attr test statement in main
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNightmanCodeth committed Aug 26, 2018
1 parent 1b20ec9 commit ca57624
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ class _DitRaHomeState extends State<DitRaHome> {
return Builder(
builder: (context) {
Submission post = list[index];
if (!post.isSelf) {
//print(post.data["preview"]["images"][0]["source"]["url"].toString());
if (!post.isSelf) {
return ImagePost(post, post.score);
} else {
return TextPost(post);
Expand Down

0 comments on commit ca57624

Please sign in to comment.