From 8d0f9d2abadbfd516b105294720f379f77fd9877 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 9 Apr 2021 17:20:50 +0200 Subject: Fix custom options in serverlist fragment (closes #1298) --- .../java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'main/src/ui/java/de') diff --git a/main/src/ui/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java b/main/src/ui/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java index 4627a61e..0e36a133 100644 --- a/main/src/ui/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java +++ b/main/src/ui/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java @@ -196,7 +196,7 @@ public class ConnectionsAdapter extends RecyclerView.Adapter { if (mConnection != null) { mConnection.mUseCustomConfig = isChecked; @@ -329,13 +330,7 @@ public class ConnectionsAdapter extends RecyclerView.Adapter { - if (mConnection != null) { - mConnection.mUseProxyAuth = isChecked; - } - }); - - mProxyAuthPassword.addTextChangedListener(new OnTextChangedWatcher() { + mProxyAuthPassword.addTextChangedListener(new OnTextChangedWatcher() { @Override public void afterTextChanged(Editable s) { if (mConnection != null) { -- cgit v1.2.3