mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-01-06 01:20:29 +05:30
open youtube links in app
This commit is contained in:
parent
f3d3ebc5ae
commit
ab1576bb2b
@ -166,6 +166,9 @@ class MainActivity : AppCompatActivity() {
|
|||||||
bundle.putString("videoId",watch.replace("v=",""))
|
bundle.putString("videoId",watch.replace("v=",""))
|
||||||
var frag = PlayerFragment()
|
var frag = PlayerFragment()
|
||||||
frag.arguments = bundle
|
frag.arguments = bundle
|
||||||
|
supportFragmentManager.beginTransaction()
|
||||||
|
.remove(PlayerFragment())
|
||||||
|
.commit()
|
||||||
supportFragmentManager.beginTransaction()
|
supportFragmentManager.beginTransaction()
|
||||||
.replace(R.id.container, frag)
|
.replace(R.id.container, frag)
|
||||||
.commitNow()
|
.commitNow()
|
||||||
|
Loading…
Reference in New Issue
Block a user