mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	Add newline in extra_text shareIntent
This commit is contained in:
		
							parent
							
								
									bd97b9b91a
								
							
						
					
					
						commit
						3203932fd3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -207,7 +207,7 @@ public class MediaDetailPagerFragment extends Fragment implements ViewPager.OnPa | |||
|                     ShareActionProvider mShareActionProvider = (ShareActionProvider) MenuItemCompat.getActionProvider(menu.findItem(R.id.menu_share_current_image)); | ||||
|                     Intent shareIntent = new Intent(Intent.ACTION_SEND); | ||||
|                     shareIntent.setType("text/plain"); | ||||
|                     shareIntent.putExtra(Intent.EXTRA_TEXT, m.getDisplayTitle() + " " + m.getDescriptionUrl()); | ||||
|                     shareIntent.putExtra(Intent.EXTRA_TEXT, m.getDisplayTitle() + " \n" + m.getDescriptionUrl()); | ||||
|                     mShareActionProvider.setShareIntent(shareIntent); | ||||
| 
 | ||||
|                     if(m instanceof Contribution) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Adam Jones
						Adam Jones