Skip to content

Commit

Permalink
Fix update StreamList with unread counts (#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
borisyankov authored Jul 31, 2017
1 parent 2245b1a commit 3ed8dfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/streams/StreamList.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default class StreamList extends PureComponent {
style={styles.list}
initialNumToRender={sortedStreams.length}
data={sortedStreams}
extraData={unreadByStream}
keyExtractor={item => item.stream_id}
renderItem={({ item }) =>
<StreamItem
Expand Down
2 changes: 1 addition & 1 deletion src/utils/__tests__/url-test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable spellcheck/spellchecker */
/* eslint-disable spellcheck/spell-checker */
import {
getFullUrl,
getResource,
Expand Down

0 comments on commit 3ed8dfc

Please sign in to comment.