Fixed important in notification

This commit is contained in:
llsajjad
2025-09-27 14:57:42 +03:30
parent 359f7f2608
commit ca81da026d
5 changed files with 36 additions and 21 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
// notification_view_model.dart
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:tm_app/core/utils/app_toast.dart';
@@ -169,7 +170,7 @@ class NotificationViewModel with ChangeNotifier {
final int offset = (page - 1) * _pageSize;
final result = await _repository.getUnreadNotifications(
final result = await _repository.getImportantNotifications(
limit: _pageSize,
offset: offset,
);