Fixed important in notification
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user