From 7a12d9dd172c14a3bc9e00ffbb08428f9655d31f Mon Sep 17 00:00:00 2001 From: Hamlet Jiang Su Date: Sat, 8 Jul 2023 12:52:19 -0700 Subject: [PATCH] fix issue for comments not showing up for long comment chains (above 8) --- lib/post/bloc/post_bloc.dart | 6 +++--- pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/post/bloc/post_bloc.dart b/lib/post/bloc/post_bloc.dart index a6b90938b..2731ae940 100644 --- a/lib/post/bloc/post_bloc.dart +++ b/lib/post/bloc/post_bloc.dart @@ -119,7 +119,7 @@ class PostBloc extends Bloc { page: 1, auth: account?.jwt, communityId: postView?.postView.post.communityId, - maxDepth: 8, + // maxDepth: 8, postId: postView?.postView.post.id, sort: sortType, limit: commentLimit, @@ -185,7 +185,7 @@ class PostBloc extends Bloc { postId: state.postId, sort: sortType, limit: commentLimit, - maxDepth: 8, + // maxDepth: 8, page: 1, )) .timeout(timeout, onTimeout: () { @@ -218,7 +218,7 @@ class PostBloc extends Bloc { postId: state.postId, sort: sortType, limit: commentLimit, - maxDepth: 8, + // maxDepth: 8, page: state.commentPage, )) .timeout(timeout, onTimeout: () { diff --git a/pubspec.yaml b/pubspec.yaml index cb561bb57..18882d7a8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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"