summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Johnson <palehose@gmail.com>2022-10-02 20:01:08 -0500
committerErik Johnson <palehose@gmail.com>2022-10-02 20:01:08 -0500
commit873ffa9cef9108db73d4968a8b83525adf22124e (patch)
tree76b12c6aa86aa082dac201656c3a155273772a99
parent0cb47ac6d536c1fd00b054ecb8f8a20ae31ab8aa (diff)
downloadAntennaPod-873ffa9cef9108db73d4968a8b83525adf22124e.zip
Use "Close" label for button to dismiss chapters dialog
Fixes #6117.
-rw-r--r--app/src/main/java/de/danoeh/antennapod/fragment/ChaptersFragment.java4
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);