Record the last state of the favorite pane.

This commit is contained in:
2025-02-05 20:40:14 +08:00
parent 24155746f2
commit 23404b86f6
2 changed files with 43 additions and 18 deletions

View File

@@ -42,7 +42,7 @@ class _CommentsPageState extends State<CommentsPage> {
_error = res.errorMessage;
_loading = false;
});
} else {
} else if (mounted) {
setState(() {
_comments = res.data;
_loading = false;