mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +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=",""))
|
||||
var frag = PlayerFragment()
|
||||
frag.arguments = bundle
|
||||
supportFragmentManager.beginTransaction()
|
||||
.remove(PlayerFragment())
|
||||
.commit()
|
||||
supportFragmentManager.beginTransaction()
|
||||
.replace(R.id.container, frag)
|
||||
.commitNow()
|
||||
|
Loading…
Reference in New Issue
Block a user