diff --git a/src/org/torproject/android/settings/AppManager.java b/src/org/torproject/android/settings/AppManager.java index 6d86b06e..50b0b25c 100644 --- a/src/org/torproject/android/settings/AppManager.java +++ b/src/org/torproject/android/settings/AppManager.java @@ -122,7 +122,7 @@ public class AppManager extends Activity implements OnCheckedChangeListener, OnC if (this.status == 0){ if (!box.isChecked()) box.performClick(); - }else if (buttonId == R.id.button_proxy_none){ + }else if (this.status == 1){ if (box.isChecked()) box.performClick(); }else {