diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2022-10-03 11:46:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-03 11:46:36 +0200 |
commit | 9783f5dc253dcf567d430d7892506bda3ca9cb0a (patch) | |
tree | 76b12c6aa86aa082dac201656c3a155273772a99 | |
parent | 0cb47ac6d536c1fd00b054ecb8f8a20ae31ab8aa (diff) | |
parent | 873ffa9cef9108db73d4968a8b83525adf22124e (diff) | |
download | AntennaPod-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.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); |