bugfix: resolve runtime issues - encoding accents, ListView dynamic heights, notifyListeners exceptions during build phase, and layout overflows
This commit is contained in:
@@ -80,7 +80,7 @@ class EquipmentProvider extends ChangeNotifier {
|
||||
Future<void> loadEquipments() async {
|
||||
print('[EquipmentProvider] Starting to load ALL equipments...');
|
||||
_isLoading = true;
|
||||
notifyListeners();
|
||||
scheduleMicrotask(notifyListeners);
|
||||
|
||||
try {
|
||||
_equipment.clear();
|
||||
@@ -272,7 +272,7 @@ class EquipmentProvider extends ChangeNotifier {
|
||||
_lastVisible = null;
|
||||
_hasMore = true;
|
||||
_isLoading = true;
|
||||
notifyListeners();
|
||||
scheduleMicrotask(notifyListeners);
|
||||
|
||||
try {
|
||||
await loadNextPage();
|
||||
@@ -296,7 +296,7 @@ class EquipmentProvider extends ChangeNotifier {
|
||||
|
||||
_isLoadingMore = true;
|
||||
_isLoading = true;
|
||||
notifyListeners();
|
||||
scheduleMicrotask(notifyListeners);
|
||||
|
||||
try {
|
||||
final result = await _dataService.getEquipmentsPaginated(
|
||||
|
||||
Reference in New Issue
Block a user