mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
refactor: retrieve videoId out of arguments block
This commit is contained in:
parent
7f80d97770
commit
96c2f280b7
@ -33,9 +33,7 @@ class AddToPlaylistDialog : DialogFragment() {
|
|||||||
|
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
arguments?.let {
|
videoId = arguments?.getString(IntentData.videoId)
|
||||||
videoId = it.getString(IntentData.videoId)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user