[ANDROID] Remove unread count (#1190)

This commit is contained in:
Lucas Siqueira 2019-09-16 18:19:14 -03:00 committed by Diego Mello
parent 5d4ca1ff8c
commit 37e7e6ed6f
1 changed files with 4 additions and 2 deletions

View File

@ -88,7 +88,7 @@ class RoomView extends React.Component {
headerLeft: (
<HeaderBackButton
title={unreadsCount > 999 ? '+999' : unreadsCount || ' '}
backTitleVisible
backTitleVisible={isIOS}
onPress={() => navigation.goBack()}
tintColor={HEADER_BACK}
/>
@ -173,7 +173,9 @@ class RoomView extends React.Component {
} else {
EventEmitter.addEventListener('connected', this.handleConnected);
}
this.updateUnreadCount();
if (isIOS) {
this.updateUnreadCount();
}
});
console.timeEnd(`${ this.constructor.name } mount`);