summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-05 02:47:59 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-05 02:47:59 +0200
commita0b6da2e0f203fee8d69c7751ea7acd2aaeb25ff (patch)
treefed7a9a98e8fbdea1d58e4410d831f44c3e3808b /app/src/main/java
parent607a4deab2f4d52b4987a8756c42550e32ff187c (diff)
MainActivity: style
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/wireguard/android/activity/MainActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/wireguard/android/activity/MainActivity.java b/app/src/main/java/com/wireguard/android/activity/MainActivity.java
index dc032fa9..2ed1da61 100644
--- a/app/src/main/java/com/wireguard/android/activity/MainActivity.java
+++ b/app/src/main/java/com/wireguard/android/activity/MainActivity.java
@@ -76,7 +76,7 @@ public class MainActivity extends BaseActivity {
getSupportFragmentManager().getFragments().get(0));
} catch (final ClassCastException ignored) {
}
- if (fragment == null || !(fragment.collapseActionMenu())) {
+ if (fragment == null || !fragment.collapseActionMenu()) {
if (!moveToState(State.ofLayer(state.layer - 1)))
super.onBackPressed();
}