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 {
|
fun Fragment.materialDialog(): MaterialDialog {
|
||||||
return MaterialDialog(requireContext())
|
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?) {
|
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||||
super.onViewCreated(view, savedInstanceState)
|
super.onViewCreated(view, savedInstanceState)
|
||||||
setHasOptionsMenu(true)
|
setHasOptionsMenu(true)
|
||||||
|
updateTitleSong()
|
||||||
enterTransition = Fade()
|
enterTransition = Fade()
|
||||||
exitTransition = Fade()
|
exitTransition = Fade()
|
||||||
lyricsSectionsAdapter = LyricsSectionsAdapter(requireActivity())
|
lyricsSectionsAdapter = LyricsSectionsAdapter(requireActivity())
|
||||||
|
|
|
@ -68,6 +68,7 @@
|
||||||
<dimen name="m3_card_corner_radius">16dp</dimen>
|
<dimen name="m3_card_corner_radius">16dp</dimen>
|
||||||
<dimen name="m3_card_medium_radius">24dp</dimen>
|
<dimen name="m3_card_medium_radius">24dp</dimen>
|
||||||
<dimen name="m3_card_large_radius">40dp</dimen>
|
<dimen name="m3_card_large_radius">40dp</dimen>
|
||||||
|
<dimen name="m3_dialog_corner_size">28dp</dimen>
|
||||||
<dimen name="padding_album_cover">16dp</dimen>
|
<dimen name="padding_album_cover">16dp</dimen>
|
||||||
|
|
||||||
<dimen name="seekbar_padding">16dp</dimen>
|
<dimen name="seekbar_padding">16dp</dimen>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue