mirror of
https://framagit.org/tom79/nitterizeme
synced 2025-02-11 01:00:49 +01:00
Fix issue #20
This commit is contained in:
parent
1fa3957495
commit
abe0bdd058
@ -427,8 +427,12 @@ public class TransformActivity extends Activity {
|
|||||||
sendIntent.setAction(Intent.ACTION_SEND);
|
sendIntent.setAction(Intent.ACTION_SEND);
|
||||||
sendIntent.putExtra(Intent.EXTRA_TEXT, extraText);
|
sendIntent.putExtra(Intent.EXTRA_TEXT, extraText);
|
||||||
sendIntent.setType("text/plain");
|
sendIntent.setType("text/plain");
|
||||||
|
if( BuildConfig.fullLinks) {
|
||||||
forwardToBrowser(TransformActivity.this, sendIntent);
|
forwardToBrowser(TransformActivity.this, sendIntent);
|
||||||
|
}else{
|
||||||
|
startActivity(sendIntent);
|
||||||
|
finish();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user