Skip to content

Commit 703810c

Browse files
committed
Fix wrong value access
1 parent 2c747eb commit 703810c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/api/state/factory/item/item_vm_state.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ItemVmFactory extends VmFactory<AppState, ItemPage, ItemViewModel> {
1010
ItemViewModel fromStore() => ItemViewModel(
1111
itemModels: state.items.items,
1212
selected: state.selectedItem,
13-
hasNextPage: state.attributes.hasNextPage,
13+
hasNextPage: state.items.hasNextPage,
1414
isLoadingMore: state.isLoadingMoreItems,
1515
);
1616
}

0 commit comments

Comments
 (0)