🐛 Bug fixing on searching

This commit is contained in:
LittleSheep 2024-10-13 21:50:47 +08:00
parent 1f4aa8916d
commit 2aa699547c

View File

@ -24,7 +24,7 @@ class _PostSearchScreenState extends State<PostSearchScreen> {
final PagingController<int, Post> _pagingController =
PagingController(firstPageKey: 0);
bool _isBusy = true;
late bool _isBusy = widget.tag != null || widget.category != null;
_searchPosts(int pageKey) async {
if (widget.tag == null &&