Fix depricated issues
This commit is contained in:
parent
98ead185d5
commit
6966351113
13 changed files with 46 additions and 60 deletions
|
@ -45,8 +45,4 @@ abstract class AbsMainActivityFragment : AbsMusicServiceFragment() {
|
|||
setStatusBarColor(view, ColorUtil.darkenColor(colorPrimary))
|
||||
}
|
||||
}
|
||||
|
||||
protected fun showMainMenu(option: Int) {
|
||||
OptionsSheetDialogFragment.newInstance(option).show(childFragmentManager, "Main_Menu")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@ abstract class AbsPlayerFragment : AbsMusicServiceFragment(),
|
|||
return true
|
||||
}
|
||||
R.id.action_sleep_timer -> {
|
||||
SleepTimerDialog().show(requireFragmentManager(), TAG)
|
||||
SleepTimerDialog().show(parentFragmentManager, TAG)
|
||||
return true
|
||||
}
|
||||
R.id.action_set_as_ringtone -> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue