From f63550698538850466583224c67da2138ede8357 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 21 Aug 2018 12:33:11 +0200 Subject: [PATCH] Use new navigation bar by default --- .../android/comunic/client/ui/activities/MainActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/activities/MainActivity.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/activities/MainActivity.java index 1f8330e..bcc674c 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/activities/MainActivity.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/activities/MainActivity.java @@ -127,6 +127,8 @@ public class MainActivity extends AppCompatActivity implements conversationsListHelper = new ConversationsListHelper(this, dbHelper); //Use navigation bar + assert getSupportActionBar() != null; + getSupportActionBar().hide(); mNavBar = findViewById(R.id.nav_bar); mNavBar.setOnNavigationItemSelectedListener(this);