Grayjay schema channel support

This commit is contained in:
Kelvin 2023-11-04 18:42:04 +01:00
parent 251a5701af
commit 4aade35d19
2 changed files with 5 additions and 1 deletions

View file

@ -501,6 +501,10 @@ class MainActivity : AppCompatActivity, IWithResultLauncher {
val videoUrl = targetData.substring("grayjay://video/".length);
navigate(_fragVideoDetail, videoUrl);
}
else if(targetData.startsWith("grayjay://channel/")) {
val channelUrl = targetData.substring("grayjay://channel/".length);
navigate(_fragMainChannel, channelUrl);
}
}
"content" -> {
if(!handleContent(targetData, intent.type)) {

@ -1 +1 @@
Subproject commit fca0ba3d5ae20baf0586cfea1f716ef4bc00c2f7
Subproject commit b41f7ed97675b3215ab6230ef744ae7067afa4d8