Skip to content

Commit

Permalink
Fix display in feed fragment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mopsalarm committed Oct 1, 2021
1 parent 22159bc commit 39e8ac2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ class FeedFragment : BaseFragment("FeedFragment", R.layout.fragment_feed), Filte
}

menu.findItem(R.id.action_change_content_type__not_verified)?.let { item ->
item.isVisible = !userService.userIsVerified
item.isVisible = userService.isAuthorized && !userService.userIsVerified
item.icon = ContentTypeDrawable(activity, listOf(ContentType.SFW)).also { icon ->
icon.textSize = resources.getDimensionPixelSize(
R.dimen.feed_content_type_action_icon_text_size).toFloat()
Expand Down

0 comments on commit 39e8ac2

Please sign in to comment.