Fixed lyrics editing crash
This commit is contained in:
parent
3f188d028a
commit
425eb4807e
3 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue