Skip to content

Commit

Permalink
fix(screens): Fix failed to show PostList
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Dec 2, 2023
1 parent 99d150c commit 419cf40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/screens/thread/post_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class _NetworkWidgetState<T> extends ConsumerState<PostList<T>> {
}
final data = await widget.listBuilder(document);

if (mounted) {
if (!mounted) {
return;
}

Expand Down

0 comments on commit 419cf40

Please sign in to comment.