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
commitf0a3e6374359d61e1efb9563ddbb8b02fd4b9027 (patch)
treefed7a9a98e8fbdea1d58e4410d831f44c3e3808b /app/src/main/java
parentd636e137176c108a637a80f39aff34e7aaaa7c52 (diff)
MainActivity: style
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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();
}