1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-27 06:41:15 +00:00

Check if timer is null.

This commit is contained in:
Felix Ableitner 2015-03-21 21:48:24 +01:00
parent 2bac0d9504
commit 1703194b02

View file

@ -97,8 +97,10 @@ public class DrawerFragment extends Fragment implements RestApi.OnReceiveSystemI
} }
public void onDrawerClosed() { public void onDrawerClosed() {
mTimer.cancel(); if (mTimer != null) {
mTimer = null; mTimer.cancel();
mTimer = null;
}
} }
@Override @Override