Removes the issue when sharing
This commit is contained in:
parent
77220c121a
commit
0f8eb792f9
|
@ -391,9 +391,7 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
final String image = intent.getStringExtra("image");
|
final String image = intent.getStringExtra("image");
|
||||||
String title = intent.getStringExtra("title");
|
String title = intent.getStringExtra("title");
|
||||||
String description = intent.getStringExtra("description");
|
String description = intent.getStringExtra("description");
|
||||||
if( description != null && description.length() > 20 ){
|
if( description != null ){
|
||||||
if( description.length() > 200 )
|
|
||||||
description = description.substring(0,199) + "…";
|
|
||||||
if( title != null)
|
if( title != null)
|
||||||
sharedContent = title + "\n\n" + description + "\n\n" + sharedContentIni;
|
sharedContent = title + "\n\n" + description + "\n\n" + sharedContentIni;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue