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 e10d2d7171
commit f4f3ec6d92

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,
));