aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-07-30 23:00:47 +0200
committerChristian Schneppe <christian@pix-art.de>2016-07-30 23:00:47 +0200
commitb16e49cb1dde8cc4c796dce3abc7b99dfbe46e91 (patch)
treee4fc974c2f10d1d7c00bd1f67436bbda2fc437ca /src/main/java/de/pixart/messenger/ui
parent0ca8a6b52672c4ab98324a6ca299b54843aa07d4 (diff)
show snackbar box not before address in sharelocation activity
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java b/src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java
index 5e059386c..4e1e9c82e 100644
--- a/src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java
@@ -158,7 +158,6 @@ public class ShareLocationActivity extends Activity implements OnMapReadyCallbac
this.mShareButton.setEnabled(true);
this.mShareButton.setTextColor(0xde000000);
this.mShareButton.setText(R.string.share);
- this.mLocationInfo.setVisibility(View.VISIBLE);
}
this.mLastLocation = location;
if (latitude != 0 && longitude != 0) {
@@ -233,6 +232,7 @@ public class ShareLocationActivity extends Activity implements OnMapReadyCallbac
@Override
protected void onPostExecute(String address) {
// Setting address of the touched Position
+ mLocationInfo.setVisibility(View.VISIBLE);
mSnackbarLocation.setText(address);
Log.d(Config.LOGTAG,"Location: Address = "+ address);
}