Custom grayjay open video url handling

This commit is contained in:
Kelvin 2023-11-04 18:31:01 +01:00
parent 2da3116111
commit 251a5701af

View file

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