mirror of
				https://github.com/SimpleMobileTools/Simple-Notes.git
				synced 2025-06-05 17:00:23 +02:00 
			
		
		
		
	fix #211, use the note title as the subject at Share
This commit is contained in:
		| @@ -566,7 +566,7 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener { | |||||||
|         val shareTitle = res.getString(R.string.share_via) |         val shareTitle = res.getString(R.string.share_via) | ||||||
|         Intent().apply { |         Intent().apply { | ||||||
|             action = Intent.ACTION_SEND |             action = Intent.ACTION_SEND | ||||||
|             putExtra(Intent.EXTRA_SUBJECT, res.getString(R.string.simple_note)) |             putExtra(Intent.EXTRA_SUBJECT, mCurrentNote.title) | ||||||
|             putExtra(Intent.EXTRA_TEXT, text) |             putExtra(Intent.EXTRA_TEXT, text) | ||||||
|             type = "text/plain" |             type = "text/plain" | ||||||
|             startActivity(Intent.createChooser(this, shareTitle)) |             startActivity(Intent.createChooser(this, shareTitle)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user