summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2022-10-03 11:46:36 +0200
committerGitHub <noreply@github.com>2022-10-03 11:46:36 +0200
commit9783f5dc253dcf567d430d7892506bda3ca9cb0a (patch)
tree76b12c6aa86aa082dac201656c3a155273772a99
parent0cb47ac6d536c1fd00b054ecb8f8a20ae31ab8aa (diff)
parent873ffa9cef9108db73d4968a8b83525adf22124e (diff)
downloadAntennaPod-9783f5dc253dcf567d430d7892506bda3ca9cb0a.zip
Merge pull request #6121 from terminalmage/issue6117
Use "Close" label for button to dismiss chapters dialog
-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);