aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-05-02 20:59:21 +0200
committerChristian Schneppe <christian@pix-art.de>2018-05-02 20:59:21 +0200
commit6dac604f4065429b7d9390eed01bde94844268a9 (patch)
tree3e6fb89b6d1c8ca5a3d0aa4007a544d73c179a26
parentcc0d264791d7e9ebd996cac23894f00c9355a2d6 (diff)
fix crash on ShareLocationActivity
-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 2b73e3bc2..9967d72b3 100644
--- a/src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java
@@ -87,7 +87,6 @@ public class ShareLocationActivity extends LocationActivity implements LocationL
setResult(RESULT_CANCELED);
finish();
});
- ThemeHelper.fix(this.snackBar);
mShareButton = findViewById(R.id.share_button);
mShareButton.setOnClickListener(view -> {
if (mLastLocation != null) {
@@ -114,6 +113,7 @@ public class ShareLocationActivity extends LocationActivity implements LocationL
startActivity(new Intent(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS));
}
});
+ ThemeHelper.fix(this.snackBar);
}
}