mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-11-04 08:43:52 +01:00 
			
		
		
		
	Replace title/desc in NearbyMapFragment to fix NPE
This commit is contained in:
		
							parent
							
								
									9b63a8f87d
								
							
						
					
					
						commit
						82e9ffbdb8
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -430,8 +430,8 @@ public class NearbyMapFragment extends DaggerFragment {
 | 
			
		|||
    void storeSharedPrefs() {
 | 
			
		||||
        SharedPreferences.Editor editor = directPrefs.edit();
 | 
			
		||||
 | 
			
		||||
        editor.putString("Title", title);
 | 
			
		||||
        editor.putString("Desc", desc);
 | 
			
		||||
        editor.putString("Title", place.getName());
 | 
			
		||||
        editor.putString("Desc", place.getLongDescription());
 | 
			
		||||
        editor.apply();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue