Added code to put the 'http://' onto a URL in the actual toot, so that Mastodon web app treats it as a URL too.
This commit is contained in:
parent
8433fdc8c2
commit
4e23de5f32
|
@ -392,6 +392,8 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
|||
String title = intent.getStringExtra("title");
|
||||
String description = intent.getStringExtra("description");
|
||||
if( description != null && description.length() > 0){
|
||||
if (sharedContentIni.startsWith("www."))
|
||||
sharedContentIni = "http://" + sharedContentIni;
|
||||
if( title != null && title.length() > 0)
|
||||
sharedContent = title + "\n\n" + description + "\n\n" + sharedContentIni;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue