Skip to content

Commit

Permalink
Merge pull request RocketChat#310 from GOVINDDIXIT/fix#306
Browse files Browse the repository at this point in the history
fix: symbols for public/private channels in chat details
  • Loading branch information
jaytat0 committed Apr 17, 2019
2 parents d594e69 + 73b7e14 commit ab4b632
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ class ChatDetailsFragment : Fragment(), ChatDetailsView {
private fun bindImage(chatRoomType: String) {
val drawable = when (roomTypeOf(chatRoomType)) {
is RoomType.Channel -> {
DrawableHelper.getDrawableFromId(R.drawable.ic_hashtag_black_12dp, context!!)
DrawableHelper.getDrawableFromId(R.drawable.ic_megaphone_black, context!!)
}
is RoomType.PrivateGroup -> {
DrawableHelper.getDrawableFromId(R.drawable.ic_lock_black_12_dp, context!!)
DrawableHelper.getDrawableFromId(R.drawable.ic_community_black, context!!)
}
else -> null
}
Expand Down

0 comments on commit ab4b632

Please sign in to comment.