MM-13420 Always show the Unreads section in the channel list (#2451)

This commit is contained in:
Harrison Healey 2018-12-12 07:37:12 -05:00 committed by Elias Nahum
parent 19f261a768
commit 901a59a01b

View file

@ -45,7 +45,7 @@ function mapStateToProps(state) {
null,
sidebarPrefs.grouping,
sidebarPrefs.sorting,
sidebarPrefs.unreads_at_top === 'true',
true, // The mobile app should always display the Unreads section regardless of user settings (MM-13420)
sidebarPrefs.favorite_at_top === 'true' && favoriteChannelIds.length,
));