Commit 888258b1 authored by Martin Santangelo's avatar Martin Santangelo

(fix) redresh notification should clear count

parent b7b85664
......@@ -156,8 +156,9 @@ class NotificationsScreen extends Component {
/**
* Clear and reload
*/
refresh = () => {
this.props.notifications.refresh();
refresh = async () => {
await this.props.notifications.refresh();
this.props.notifications.setUnread(0);
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment