|
|
|
|
@ -603,8 +603,10 @@ class FeedFragment : FilterableFragment(), RowRepresentableDelegate, PurchaseLis |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private fun displayBlogPostButton(newCount: Int = 0) { |
|
|
|
|
|
|
|
|
|
context?.let { context -> |
|
|
|
|
var show = false |
|
|
|
|
if (Preferences.shouldShowBlogTips(requireContext()) && newCount > 0) { |
|
|
|
|
if (Preferences.shouldShowBlogTips(context) && newCount > 0) { |
|
|
|
|
show = true |
|
|
|
|
this.badgeDrawable?.number = newCount |
|
|
|
|
} |
|
|
|
|
@ -613,3 +615,5 @@ class FeedFragment : FilterableFragment(), RowRepresentableDelegate, PurchaseLis |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |