1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-01 16:51:16 +00:00

MainActivity: Use GravityCompat

instead of android.view.Gravity
This commit is contained in:
Catfriend1 2019-01-20 12:25:55 +01:00
parent bb1aa8af50
commit b8c35bc098

View file

@ -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);
}
});
}