From 6b6efabcc0a59e89a4b0f77ab02d6ac4be46246c Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 9 Feb 2016 01:45:24 +0100 Subject: [PATCH] Don't spin drawer toggle (fixes #532). --- .../nutomic/syncthingandroid/activities/MainActivity.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/nutomic/syncthingandroid/activities/MainActivity.java b/src/main/java/com/nutomic/syncthingandroid/activities/MainActivity.java index a99a8980..3a4b9dff 100644 --- a/src/main/java/com/nutomic/syncthingandroid/activities/MainActivity.java +++ b/src/main/java/com/nutomic/syncthingandroid/activities/MainActivity.java @@ -386,6 +386,11 @@ public class MainActivity extends SyncthingActivity super.onDrawerClosed(view); mDrawerFragment.onDrawerClosed(); } + + @Override + public void onDrawerSlide(View drawerView, float slideOffset) { + super.onDrawerSlide(drawerView, 0); + } } /**