fix(notifications): fixed wrong notifications rendring and changed requested pagination page

This commit is contained in:
Username1548
2025-07-08 21:19:33 +07:00
parent 0886d1cd7b
commit 4426eef2dc
3 changed files with 6 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ class NotificationsCubit extends Cubit<NotificationsState> {
Future<void> getNotifications() async {
try {
final notifications = await notificationsRepository.getNotifications(page: 2);
final notifications = await notificationsRepository.getNotifications(page: 1);
_notifications.clear();
_notifications.addAll(notifications ?? []);
emit(