Skip to content

Commit

Permalink
Added subject when sharing.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbutcher committed Nov 17, 2015
1 parent 5ea5a56 commit 9dd01e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/io/plaidapp/ui/DesignerNewsStory.java
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ public void onClick(View v) {
startActivity(ShareCompat.IntentBuilder.from(DesignerNewsStory.this)
.setText(story.url)
.setType("text/plain")
.setSubject(story.title)
.getIntent());
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ protected void onPostExecute(File result) {
ShareCompat.IntentBuilder.from(activity)
.setText(getShareText())
.setType(getImageMimeType(fileName))
.setSubject(shot.title)
.setStream(uri)
.startChooser();
}
Expand Down

0 comments on commit 9dd01e8

Please sign in to comment.