mirror of
https://github.com/tuskyapp/Tusky
synced 2025-01-03 12:29:30 +01:00
Open links in new tabs (#603)
This commit is contained in:
parent
aecdbda375
commit
3dfe43dfb2
@ -147,7 +147,6 @@ public class LinkHelper {
|
||||
*/
|
||||
public static void openLinkInBrowser(Uri uri, Context context) {
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
|
||||
intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName());
|
||||
try {
|
||||
context.startActivity(intent);
|
||||
} catch (ActivityNotFoundException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user