diff options
author | Erik Johnson <palehose@gmail.com> | 2022-10-02 20:01:08 -0500 |
---|---|---|
committer | Erik Johnson <palehose@gmail.com> | 2022-10-02 20:01:08 -0500 |
commit | 873ffa9cef9108db73d4968a8b83525adf22124e (patch) | |
tree | 76b12c6aa86aa082dac201656c3a155273772a99 /app | |
parent | 0cb47ac6d536c1fd00b054ecb8f8a20ae31ab8aa (diff) | |
download | AntennaPod-873ffa9cef9108db73d4968a8b83525adf22124e.zip |
Use "Close" label for button to dismiss chapters dialog
Fixes #6117.
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/ChaptersFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/ChaptersFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/ChaptersFragment.java index 8304b8f58..2a225fb77 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/ChaptersFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/ChaptersFragment.java @@ -50,7 +50,7 @@ public class ChaptersFragment extends AppCompatDialogFragment { return new MaterialAlertDialogBuilder(requireContext()) .setTitle(getString(R.string.chapters_label)) .setView(onCreateView(getLayoutInflater())) - .setNegativeButton(getString(R.string.cancel_label), null) //dismisses + .setNegativeButton(getString(R.string.close_label), null) //dismisses .create(); } @@ -76,7 +76,7 @@ public class ChaptersFragment extends AppCompatDialogFragment { recyclerView.setAdapter(adapter); progressBar.setVisibility(View.VISIBLE); - + RelativeLayout.LayoutParams wrapHeight = new RelativeLayout.LayoutParams( ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); recyclerView.setLayoutParams(wrapHeight); |