|
|
|
|
@ -584,7 +584,7 @@ class FeedFragment : FilterableFragment(), RowRepresentableDelegate, PurchaseLis |
|
|
|
|
|
|
|
|
|
val now = Date().time |
|
|
|
|
// if (true) { |
|
|
|
|
if (Preferences.getLastBlogTipsRetrievalDate(requireContext()) + 24 * 3600 * 1000 < now) { |
|
|
|
|
if (Preferences.shouldShowBlogTips(requireContext()) && Preferences.getLastBlogTipsRetrievalDate(requireContext()) + 24 * 3600 * 1000 < now) { |
|
|
|
|
|
|
|
|
|
BlogPostApi.getLatestPosts(requireContext()) { posts -> |
|
|
|
|
Preferences.setLastBlogTipsRetrievalDate(now, requireContext()) |
|
|
|
|
|