Make empty view more informative

This commit is contained in:
ByteHamster 2022-08-06 12:21:34 +02:00
parent 0f5f4d9e35
commit e65fe6244b
2 changed files with 3 additions and 3 deletions

View File

@ -86,8 +86,10 @@ public class AllEpisodesFragment extends EpisodesListFragment {
txtvInformation.setText("{md-info-outline} " + this.getString(R.string.filtered_label));
Iconify.addIcons(txtvInformation);
txtvInformation.setVisibility(View.VISIBLE);
emptyView.setMessage(R.string.no_all_episodes_filtered_label);
} else {
txtvInformation.setVisibility(View.GONE);
emptyView.setMessage(R.string.no_all_episodes_label);
}
}
}

View File

@ -232,7 +232,6 @@
<string name="visit_website_label">Visit Website</string>
<string name="skip_episode_label">Skip episode</string>
<string name="reset_position">Reset Playback Position</string>
<string name="removed_item">Item removed</string>
<string name="no_items_selected">No items selected</string>
<!-- Download messages and labels -->
@ -338,10 +337,9 @@
<string name="no_history_label">After you listen to an episode, it will appear here.</string>
<string name="no_all_episodes_head_label">No Episodes</string>
<string name="no_all_episodes_label">When you add a podcast, the episodes will be shown here.</string>
<string name="no_all_episodes_filtered_label">Try clearing the filter to see more episodes.</string>
<string name="no_inbox_head_label">No episodes in the inbox</string>
<string name="no_inbox_label">When new episodes arrive, they will be shown here. You can then decide if you are interested in them or not.</string>
<string name="no_fav_episodes_head_label">No favorite episodes</string>
<string name="no_fav_episodes_label">You can add episodes to the favorites by long-pressing them.</string>
<string name="no_subscriptions_head_label">No subscriptions</string>
<string name="no_subscriptions_label">To subscribe to a podcast, press the plus icon below.</string>