Fixed lyrics editing crash

This commit is contained in:
Prathamesh More 2022-02-10 00:45:30 +05:30
parent 3f188d028a
commit 425eb4807e
3 changed files with 3 additions and 1 deletions

View file

@ -39,5 +39,5 @@ fun AlertDialog.colorButtons(): AlertDialog {
fun Fragment.materialDialog(): MaterialDialog {
return MaterialDialog(requireContext())
.cornerRadius(res = R.dimen.m3_alert_dialog_corner_size)
.cornerRadius(res = R.dimen.m3_dialog_corner_size)
}

View file

@ -145,6 +145,7 @@ class LyricsFragment : AbsMusicServiceFragment(R.layout.fragment_lyrics) {
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
setHasOptionsMenu(true)
updateTitleSong()
enterTransition = Fade()
exitTransition = Fade()
lyricsSectionsAdapter = LyricsSectionsAdapter(requireActivity())