From 39e8ac2330a172abdc413b8161b9560639315d9e Mon Sep 17 00:00:00 2001 From: Mopsalarm Date: Fri, 1 Oct 2021 21:01:17 +0200 Subject: [PATCH] Fix display in feed fragment. --- .../java/com/pr0gramm/app/ui/fragments/feed/FeedFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/pr0gramm/app/ui/fragments/feed/FeedFragment.kt b/app/src/main/java/com/pr0gramm/app/ui/fragments/feed/FeedFragment.kt index 0130a2da5..5ce751bbc 100644 --- a/app/src/main/java/com/pr0gramm/app/ui/fragments/feed/FeedFragment.kt +++ b/app/src/main/java/com/pr0gramm/app/ui/fragments/feed/FeedFragment.kt @@ -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()