From b8c35bc098dd6b0d42cb1a32cd996b0062949670 Mon Sep 17 00:00:00 2001 From: Catfriend1 Date: Sun, 20 Jan 2019 12:25:55 +0100 Subject: [PATCH] MainActivity: Use GravityCompat instead of android.view.Gravity --- .../com/nutomic/syncthingandroid/activities/MainActivity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/com/nutomic/syncthingandroid/activities/MainActivity.java b/app/src/main/java/com/nutomic/syncthingandroid/activities/MainActivity.java index c1d33a60..1b91f692 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/activities/MainActivity.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/activities/MainActivity.java @@ -31,7 +31,6 @@ import android.support.v7.app.ActionBarDrawerToggle; import android.util.DisplayMetrics; import android.util.Log; import android.util.TypedValue; -import android.view.Gravity; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.MenuItem; @@ -372,7 +371,7 @@ public class MainActivity extends SyncthingActivity toolbar.setNavigationOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - mDrawerLayout.openDrawer(Gravity.START); + mDrawerLayout.openDrawer(GravityCompat.START); } }); }