We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 537d9f9 commit 79aec5bCopy full SHA for 79aec5b
lib/api/state/actions/notification_actions.dart
@@ -174,10 +174,10 @@ AppState _updateNotificationInState(
174
}) {
175
final updated = state.notifications.copyWith(
176
items: newItems,
177
- totalItems: totalItems ?? state.items.totalItems,
178
- totalPages: state.items.totalPages,
179
- currentPage: state.items.currentPage,
180
- pageSize: state.items.pageSize,
+ totalItems: totalItems ?? state.notifications.totalItems,
+ totalPages: state.notifications.totalPages,
+ currentPage: state.notifications.currentPage,
+ pageSize: state.notifications.pageSize,
181
);
182
return state.copyWith(
183
notifications: updated,
0 commit comments