hide notification circular when call mark as read
This commit is contained in:
@@ -220,8 +220,14 @@ class HomeViewModel with ChangeNotifier {
|
||||
break;
|
||||
case Error<Map<String, dynamic>>():
|
||||
_hasUnreadNotification = false;
|
||||
break;
|
||||
break;
|
||||
}
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void serUnreadNotificationFalse(){
|
||||
_hasUnreadNotification = false;
|
||||
notifyListeners();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user