fixed home
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user