mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	Add comments
This commit is contained in:
		
							parent
							
								
									f08641b66f
								
							
						
					
					
						commit
						f23cd8214d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -394,7 +394,8 @@ public class NearbyMapFragment extends DaggerFragment { | |||
|             } | ||||
|         }); | ||||
| 
 | ||||
|         // Remove texts if it doesnt fit | ||||
|         // Remove button text if they exceed 1 line or if internal layout has not been built | ||||
|         // Only need to check for directions button because it is the longest | ||||
|         if (directionsButtonText.getLineCount() > 1 || directionsButtonText.getLineCount() == 0) { | ||||
|             wikipediaButtonText.setVisibility(View.GONE); | ||||
|             wikidataButtonText.setVisibility(View.GONE); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 misaochan
						misaochan