@@ -1711,7 +1711,7 @@ class ReaderPostListFragment : ViewPagerFragment(), OnPostSelectedListener, OnFo
17111711 var button: ActionableEmptyViewButtonType ? = null
17121712
17131713 // Ensure the default image is reset for empty views before applying logic
1714- actionableEmptyView!! .image.setImageResource(R .drawable.illustration_reader_empty )
1714+ actionableEmptyView!! .image.setImageResource(0 )
17151715
17161716 if (shouldShowEmptyViewForSelfHostedCta()) {
17171717 setEmptyTitleAndDescriptionForSelfHostedCta()
@@ -1810,11 +1810,11 @@ class ReaderPostListFragment : ViewPagerFragment(), OnPostSelectedListener, OnFo
18101810 actionableEmptyView!! .subtitle.contentDescription =
18111811 getString(R .string.reader_empty_saved_posts_content_description)
18121812 actionableEmptyView!! .subtitle.visibility = View .VISIBLE
1813- actionableEmptyView!! .button.setText(R .string.reader_empty_followed_blogs_button_subscriptions )
1813+ actionableEmptyView!! .button.setText(R .string.reader_no_followed_blogs_button_discover )
18141814 actionableEmptyView!! .button.visibility = View .VISIBLE
18151815 actionableEmptyView!! .button.setOnClickListener {
18161816 setCurrentTagFromEmptyViewButton(
1817- ActionableEmptyViewButtonType .FOLLOWED
1817+ ActionableEmptyViewButtonType .DISCOVER
18181818 )
18191819 }
18201820 }
@@ -1832,9 +1832,16 @@ class ReaderPostListFragment : ViewPagerFragment(), OnPostSelectedListener, OnFo
18321832
18331833 actionableEmptyView!! .image.visibility = View .VISIBLE
18341834 actionableEmptyView!! .title.text =
1835- getString(R .string.reader_self_hosted_select_filter )
1835+ getString(R .string.reader_empty_subscriptions )
18361836 actionableEmptyView!! .subtitle.visibility = View .GONE
1837- actionableEmptyView!! .button.visibility = View .GONE
1837+ actionableEmptyView!! .button.setText(
1838+ R .string.reader_no_followed_blogs_button_discover
1839+ )
1840+ actionableEmptyView!! .button.setOnClickListener {
1841+ setCurrentTagFromEmptyViewButton(
1842+ ActionableEmptyViewButtonType .DISCOVER
1843+ )
1844+ }
18381845 }
18391846
18401847 private fun addBookmarkImageSpan (ssb : SpannableStringBuilder , imagePlaceholderPosition : Int ) {
@@ -2354,14 +2361,8 @@ class ReaderPostListFragment : ViewPagerFragment(), OnPostSelectedListener, OnFo
23542361 activity.runOnUiThread {
23552362 if (isBookmarksList && isPostAdapterEmpty() && isAdded) {
23562363 setEmptyTitleAndDescriptionForBookmarksList()
2357- actionableEmptyView!! .image.setImageResource(
2358- R .drawable.illustration_reader_empty
2359- )
23602364 showEmptyView()
23612365 } else if ((currentTag?.isListTopic() == true ) && isPostAdapterEmpty() && isAdded) {
2362- actionableEmptyView!! .image.setImageResource(
2363- R .drawable.illustration_reader_empty
2364- )
23652366 actionableEmptyView!! .title.text =
23662367 getString(R .string.reader_empty_blogs_posts_in_custom_list)
23672368 actionableEmptyView!! .image.visibility = View .VISIBLE
0 commit comments