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
@@ -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)) {