Refactor code
This commit is contained in:
parent
369411ffc6
commit
6cdaf27eda
13 changed files with 28 additions and 160 deletions
|
@ -63,10 +63,10 @@ class RenamePlaylistDialog : DialogFragment() {
|
|||
|
||||
MaterialUtil.setTint(actionNewPlaylistContainer, false)
|
||||
|
||||
val playlistId = arguments!!.getLong(PLAYLIST_ID)
|
||||
val playlistId = requireArguments().getLong(PLAYLIST_ID)
|
||||
playlistView.appHandleColor()
|
||||
.setText(
|
||||
PlaylistsUtil.getNameForPlaylist(context!!, playlistId),
|
||||
PlaylistsUtil.getNameForPlaylist(requireContext(), playlistId),
|
||||
TextView.BufferType.EDITABLE
|
||||
)
|
||||
return materialDialog
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue