diff --git a/app/screens/channel/channel_nav_bar/channel_drawer_button.js b/app/screens/channel/channel_nav_bar/channel_drawer_button.js index 6baf65cb2..ada893381 100644 --- a/app/screens/channel/channel_nav_bar/channel_drawer_button.js +++ b/app/screens/channel/channel_nav_bar/channel_drawer_button.js @@ -62,10 +62,8 @@ class ChannelDrawerButton extends PureComponent { EventEmitter.on('drawer_opacity', this.setOpacity); } - componentDidUpdate(prevProps) { - if (prevProps.mentionCount !== this.props.mentionCount) { - PushNotifications.setApplicationIconBadgeNumber(this.props.mentionCount); - } + componentDidUpdate() { + PushNotifications.setApplicationIconBadgeNumber(this.props.mentionCount); } componentWillUnmount() {