mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	Fix build (#3857)
This commit is contained in:
		
							parent
							
								
									cc2f14dab8
								
							
						
					
					
						commit
						96cf57711e
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -293,7 +293,7 @@ public class ContributionsListFragment extends CommonsDaggerSupportFragment impl | |||
|   @Override | ||||
|   public void onConfirmClicked(@Nullable Contribution contribution, boolean copyWikicode) { | ||||
|     if (copyWikicode) { | ||||
|       String wikicode = contribution.getWikiCode(); | ||||
|       String wikicode = contribution.getMedia().getWikiCode(); | ||||
|       Utils.copy("wikicode", wikicode, getContext()); | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
|  | @ -308,7 +308,7 @@ public class UploadService extends CommonsDaggerService { | |||
|         .add(wikidataEditService.addDepictionsAndCaptions(uploadResult, contribution)); | ||||
|     WikidataPlace wikidataPlace = contribution.getWikidataPlace(); | ||||
|     if (wikidataPlace != null && wikidataPlace.getImageValue() == null) { | ||||
|       wikidataEditService.createClaim(wikidataPlace, uploadResult.getFilename(), contribution.getCaptions()); | ||||
|       wikidataEditService.createClaim(wikidataPlace, uploadResult.getFilename(), contribution.getMedia().getCaptions()); | ||||
|     } | ||||
|     saveCompletedContribution(contribution, uploadResult); | ||||
|   } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vivek Maskara
						Vivek Maskara