[ANDROID] Remove unread count (#1190)
This commit is contained in:
parent
5d4ca1ff8c
commit
37e7e6ed6f
|
@ -88,7 +88,7 @@ class RoomView extends React.Component {
|
||||||
headerLeft: (
|
headerLeft: (
|
||||||
<HeaderBackButton
|
<HeaderBackButton
|
||||||
title={unreadsCount > 999 ? '+999' : unreadsCount || ' '}
|
title={unreadsCount > 999 ? '+999' : unreadsCount || ' '}
|
||||||
backTitleVisible
|
backTitleVisible={isIOS}
|
||||||
onPress={() => navigation.goBack()}
|
onPress={() => navigation.goBack()}
|
||||||
tintColor={HEADER_BACK}
|
tintColor={HEADER_BACK}
|
||||||
/>
|
/>
|
||||||
|
@ -173,7 +173,9 @@ class RoomView extends React.Component {
|
||||||
} else {
|
} else {
|
||||||
EventEmitter.addEventListener('connected', this.handleConnected);
|
EventEmitter.addEventListener('connected', this.handleConnected);
|
||||||
}
|
}
|
||||||
this.updateUnreadCount();
|
if (isIOS) {
|
||||||
|
this.updateUnreadCount();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
console.timeEnd(`${ this.constructor.name } mount`);
|
console.timeEnd(`${ this.constructor.name } mount`);
|
||||||
|
|
Loading…
Reference in New Issue