fixed home

This commit is contained in:
amirrezaghabeli
2026-04-16 09:10:37 +03:30
parent 7ae5c25ebb
commit 41bba5d32c
16 changed files with 83 additions and 53 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ class HomeViewModel with ChangeNotifier {
);
_currentPage++;
if (metadata != null && (_currentPage >= metadata.pages!)) {
if (metadata != null && (_currentPage >= (metadata.pages ?? 0))) {
_hasMore = false;
}
} else {