mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	issue #1130 (b)
This commit is contained in:
		
							parent
							
								
									6b63fad407
								
							
						
					
					
						commit
						52a1ed459f
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -276,6 +276,9 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment { | |||
|     private void setOnClickListeners(final Media media) { | ||||
|         if (licenseLink(media) != null) { | ||||
|             license.setOnClickListener(v -> openWebBrowser(licenseLink(media))); | ||||
|         } else { | ||||
|             Toast toast = Toast.makeText(getContext(), getString(R.string.description_info), Toast.LENGTH_SHORT); | ||||
|             toast.show(); | ||||
|         } | ||||
|         if (media.getCoordinates() != null) { | ||||
|             coordinates.setOnClickListener(v -> openMap(media.getCoordinates())); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 hismaeel
						hismaeel