Fix more whitespace

This commit is contained in:
misaochan 2018-01-02 21:54:09 +10:00
parent 9372a7ea3c
commit 42517bcb7a

View file

@ -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;
}