From f0a3e6374359d61e1efb9563ddbb8b02fd4b9027 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 5 Jun 2018 02:47:59 +0200 Subject: [PATCH] MainActivity: style Signed-off-by: Jason A. Donenfeld --- .../main/java/com/wireguard/android/activity/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }