Fixed notification pagination for all and unread
This commit is contained in:
@@ -13,7 +13,7 @@ class NotificationAllTab extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
final viewModel = context.watch<NotificationViewModel>();
|
||||
final notifications =
|
||||
viewModel.notificationResponse?.data?.notifications ?? [];
|
||||
viewModel.allNotificationResponse?.data?.notifications ?? [];
|
||||
|
||||
return ListView.builder(
|
||||
controller: scrollController,
|
||||
|
||||
Reference in New Issue
Block a user