Skip to content

Commit

Permalink
fix issue for comments not showing up for long comment chains (above 8)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiangsu committed Jul 8, 2023
1 parent 40c7dd9 commit 7a12d9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/post/bloc/post_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class PostBloc extends Bloc<PostEvent, PostState> {
page: 1,
auth: account?.jwt,
communityId: postView?.postView.post.communityId,
maxDepth: 8,
// maxDepth: 8,
postId: postView?.postView.post.id,
sort: sortType,
limit: commentLimit,
Expand Down Expand Up @@ -185,7 +185,7 @@ class PostBloc extends Bloc<PostEvent, PostState> {
postId: state.postId,
sort: sortType,
limit: commentLimit,
maxDepth: 8,
// maxDepth: 8,
page: 1,
))
.timeout(timeout, onTimeout: () {
Expand Down Expand Up @@ -218,7 +218,7 @@ class PostBloc extends Bloc<PostEvent, PostState> {
postId: state.postId,
sort: sortType,
limit: commentLimit,
maxDepth: 8,
// maxDepth: 8,
page: state.commentPage,
))
.timeout(timeout, onTimeout: () {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: thunder
description: An open-source cross-platform Lemmy client for iOS and Android built with Flutter
publish_to: "none"
version: 0.2.1-alpha.5+11
version: 0.2.1-alpha.6+11

environment:
sdk: ">=3.1.0-116.0.dev <4.0.0"
Expand Down

0 comments on commit 7a12d9d

Please sign in to comment.