Skip to content

Commit c9becb9

Browse files
committed
fix #211, use the note title as the subject at Share
1 parent c822645 commit c9becb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/notes/activities/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
566566
val shareTitle = res.getString(R.string.share_via)
567567
Intent().apply {
568568
action = Intent.ACTION_SEND
569-
putExtra(Intent.EXTRA_SUBJECT, res.getString(R.string.simple_note))
569+
putExtra(Intent.EXTRA_SUBJECT, mCurrentNote.title)
570570
putExtra(Intent.EXTRA_TEXT, text)
571571
type = "text/plain"
572572
startActivity(Intent.createChooser(this, shareTitle))

0 commit comments

Comments
 (0)