1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-15 07:27:40 +00:00
Files
NewPipe/app
Fynn Godau 83a0abddcc Fix and simplify openUrlInBrowser
The code was not previously working in case no default browser is set[1]
AND NewPipe is set as default handler for the link in question.

We improve it by telling the system to choose the target app as if the
URI was `http://`, which works even if the user has not set a default
browser.

[1]: also the case if platform refuses to tell an app what the user's
default browser is, which I observed on CalyxOS.
2025-09-05 17:49:58 +02:00
..
2025-09-05 17:49:58 +02:00