mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	Create new method in CommonsApplicationModule for providing title/desc for Nearby Uploads
This commit is contained in:
		
							parent
							
								
									287a20d945
								
							
						
					
					
						commit
						cb0179cb54
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -55,6 +55,12 @@ public class CommonsApplicationModule { | |||
|         return application.getSharedPreferences("prefs", MODE_PRIVATE); | ||||
|     } | ||||
| 
 | ||||
|     @Provides | ||||
|     @Named("direct_nearby_upload_prefs") | ||||
|     public SharedPreferences providesDirectNearbyUploadPreferences() { | ||||
|         return application.getSharedPreferences("direct_nearby_upload_prefs", MODE_PRIVATE); | ||||
|     } | ||||
| 
 | ||||
|     @Provides | ||||
|     public UploadController providesUploadController(SessionManager sessionManager, @Named("default_preferences") SharedPreferences sharedPreferences) { | ||||
|         return new UploadController(sessionManager, application, sharedPreferences); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 misaochan
						misaochan