Open links in new tabs (#603)

main
Ivan Kupalov 7 years ago committed by Konrad Pozniak
parent 04d97acf44
commit 75a25f02ac
  1. 1
      app/src/main/java/com/keylesspalace/tusky/util/LinkHelper.java

@ -147,7 +147,6 @@ public class LinkHelper {
*/ */
public static void openLinkInBrowser(Uri uri, Context context) { public static void openLinkInBrowser(Uri uri, Context context) {
Intent intent = new Intent(Intent.ACTION_VIEW, uri); Intent intent = new Intent(Intent.ACTION_VIEW, uri);
intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName());
try { try {
context.startActivity(intent); context.startActivity(intent);
} catch (ActivityNotFoundException e) { } catch (ActivityNotFoundException e) {

Loading…
Cancel
Save