Merge branch 'develop' of https://github.com/stom79/mastalab into develop

This commit is contained in:
stom79 2017-11-29 08:18:54 +01:00
commit 47595b7121
1 changed files with 2 additions and 2 deletions

View File

@ -391,8 +391,8 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
final String image = intent.getStringExtra("image");
String title = intent.getStringExtra("title");
String description = intent.getStringExtra("description");
if( description != null ){
if( title != null)
if( description != null && description.length() > 0){
if( title != null && title.length() > 0)
sharedContent = title + "\n\n" + description + "\n\n" + sharedContentIni;
else
sharedContent = description + "\n\n" + sharedContentIni;