Fixed typos

This commit is contained in:
Jatin Kumar 2019-03-29 14:20:11 -04:00
parent cabf6fee7b
commit 209b0b3880
4 changed files with 6 additions and 10 deletions

View File

@ -347,7 +347,7 @@ public class AllEpisodesFragment extends Fragment {
listAdapter.setHasStableIds(true);
recyclerView.setAdapter(listAdapter);
}
if(episodes == null || episodes.size() == 0) {
if (episodes == null || episodes.size() == 0) {
recyclerView.setVisibility(View.GONE);
layoutEmpty.setVisibility(View.VISIBLE);
} else {

View File

@ -8,9 +8,7 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.List;
import de.danoeh.antennapod.R;
import de.danoeh.antennapod.adapter.AllEpisodesRecycleAdapter;
import de.danoeh.antennapod.core.event.FeedItemEvent;
@ -27,9 +25,7 @@ import de.danoeh.antennapod.core.util.FeedItemUtil;
public class NewEpisodesFragment extends AllEpisodesFragment {
public static final String TAG = "NewEpisodesFragment";
private static final String PREF_NAME = "PrefNewEpisodesFragment";
@Override
protected boolean showOnlyNewEpisodes() { return true; }

View File

@ -514,7 +514,7 @@ public class QueueFragment extends Fragment {
}
if(queue == null || queue.size() == 0) {
recyclerView.setVisibility(View.GONE);
layoutEmpty.setVisibility(View.VISIBLE);
layoutEmpty.setVisibility(View.VISIBLE);
} else {
layoutEmpty.setVisibility(View.GONE);
recyclerView.setVisibility(View.VISIBLE);

View File

@ -319,9 +319,9 @@
<string name="no_feeds_label">You haven\'t subscribed to any podcasts yet.</string>
<string name="no_chapters_label">This episode has no chapters.</string>
<string name="no_shownotes_label">This episode has no shownotes.</string>
<string name="no_run_downloads_head_label">No download running</string>
<string name="no_run_downloads_head_label">No downloads running</string>
<string name="no_run_downloads_label">You can download episodes on the podcast details screen.</string>
<string name="no_comp_downloads_head_label">No download episodes</string>
<string name="no_comp_downloads_head_label">No downloaded episodes</string>
<string name="no_comp_downloads_label">You can download episodes on the podcast details screen.</string>
<string name="no_log_downloads_head_label">No download log</string>
<string name="no_log_downloads_label">Download logs will appear here when available.</string>
@ -331,8 +331,8 @@
<string name="no_all_episodes_label">When you add a podcast, the episodes will be shown here.</string>
<string name="no_new_episodes_head_label">No new episodes</string>
<string name="no_new_episodes_label">When new episodes arrive, they will be shown here.</string>
<string name="no_fav_episodes_head_label">No favourite episodes</string>
<string name="no_fav_episodes_label">You can add episodes to the favourites by long-pressing them.</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>
<!-- Preferences -->
<string name="storage_pref">Storage</string>