Existing friends management

This commit is contained in:
2024-04-25 23:03:16 +08:00
parent 0230ea5c79
commit 5346224f1e
11 changed files with 361 additions and 82 deletions

View File

@ -50,6 +50,11 @@ class NotifyProvider extends ChangeNotifier {
notifyListeners();
}
void clearAt(int index) {
notifications.removeAt(index);
notifyListeners();
}
void clearNonRealtime() {
notifications = notifications.where((x) => !x.isRealtime).toList();
}