diff --git a/lib/widgets/comment_tree.dart b/lib/comment_tree.dart similarity index 100% rename from lib/widgets/comment_tree.dart rename to lib/comment_tree.dart diff --git a/lib/comment.dart b/lib/widgets/comment.dart similarity index 98% rename from lib/comment.dart rename to lib/widgets/comment.dart index 0a5d21c..be479bc 100644 --- a/lib/comment.dart +++ b/lib/widgets/comment.dart @@ -1,8 +1,8 @@ import 'package:cached_network_image/cached_network_image.dart'; import 'package:flutter/material.dart'; -import 'widgets/comment_tree.dart'; -import 'widgets/markdown_text.dart'; +import '../comment_tree.dart'; +import 'markdown_text.dart'; class Comment extends StatelessWidget { final int indent; diff --git a/lib/widgets/comments.dart b/lib/widgets/comments.dart index 7337471..0300eba 100644 --- a/lib/widgets/comments.dart +++ b/lib/widgets/comments.dart @@ -2,8 +2,8 @@ import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:lemmy_api_client/lemmy_api_client.dart'; -import '../comment.dart'; -import 'comment_tree.dart'; +import '../comment_tree.dart'; +import 'comment.dart'; /// Manages comments section, sorts them class Comments extends HookWidget {