From 37e7e6ed6facec268d4f95049fe3235826fa83f3 Mon Sep 17 00:00:00 2001 From: Lucas Siqueira Date: Mon, 16 Sep 2019 18:19:14 -0300 Subject: [PATCH] [ANDROID] Remove unread count (#1190) --- app/views/RoomView/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/RoomView/index.js b/app/views/RoomView/index.js index 96cd9c882..e0acfbafb 100644 --- a/app/views/RoomView/index.js +++ b/app/views/RoomView/index.js @@ -88,7 +88,7 @@ class RoomView extends React.Component { headerLeft: ( 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`);