fix force close

This commit is contained in:
efrilm
2025-10-07 21:49:15 +07:00
parent 455a6afd70
commit 613b216c04
5 changed files with 76 additions and 58 deletions
@@ -65,6 +65,8 @@ class CategoryLoaderBloc
log('✅ Categories loaded: ${categories.length}, hasReachedMax: $hasReachedMax');
categories.insert(0, CategoryModel.all());
emit(CategoryLoaderState.loaded(
categories: categories,
hasReachedMax: hasReachedMax,