mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	Fix more whitespace
This commit is contained in:
		
							parent
							
								
									9372a7ea3c
								
							
						
					
					
						commit
						42517bcb7a
					
				
					 1 changed files with 0 additions and 8 deletions
				
			
		|  | @ -391,13 +391,11 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment { | |||
| 
 | ||||
|         fabGallery.setOnClickListener(view -> { | ||||
|             Timber.d("Image title: " + place.getName() + "Image desc: " + place.getLongDescription()); | ||||
| 
 | ||||
|             controller = new ContributionController(this); | ||||
|             DirectUpload directUpload = new DirectUpload(place.getName(), place.getLongDescription(), this, controller); | ||||
|             directUpload.storeSharedPrefs(); | ||||
|             directUpload.initiateGalleryUpload(); | ||||
| 
 | ||||
| //TODO: App crashes after image upload completes - but didn't happen 2nd time I tried? | ||||
| //TODO: Handle onRequestPermissionsResult | ||||
|         }); | ||||
|     } | ||||
|  | @ -422,25 +420,19 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment { | |||
|     } | ||||
| 
 | ||||
|     private void animateFAB(boolean isFabOpen) { | ||||
| 
 | ||||
|         if (isFabOpen) { | ||||
| 
 | ||||
|             fabPlus.startAnimation(rotate_backward); | ||||
|             fabCamera.startAnimation(fab_close); | ||||
|             fabGallery.startAnimation(fab_close); | ||||
|             fabCamera.hide(); | ||||
|             fabGallery.hide(); | ||||
| 
 | ||||
|         } else { | ||||
| 
 | ||||
|             fabPlus.startAnimation(rotate_forward); | ||||
|             fabCamera.startAnimation(fab_open); | ||||
|             fabGallery.startAnimation(fab_open); | ||||
|             fabCamera.show(); | ||||
|             fabGallery.show(); | ||||
| 
 | ||||
|         } | ||||
| 
 | ||||
|         this.isFabOpen=!isFabOpen; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 misaochan
						misaochan