diff options
author | Arne Schwabe <arne@rfc2549.org> | 2015-10-10 12:57:34 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2015-10-10 12:57:34 +0200 |
commit | b8f9b94aa7b23d8898da035d406bc3e3984b97f2 (patch) | |
tree | b59da96d8acc6ee075996840f7e2618b9e241930 /main/src | |
parent | 24deec6b836ce3e38d8012d8ce3469335e73c7bc (diff) |
Fix something something strange, update OpenVPN
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java b/main/src/main/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java index 74c103f8..a8befcd7 100644 --- a/main/src/main/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java +++ b/main/src/main/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java @@ -73,7 +73,10 @@ public class ConnectionsAdapter extends RecyclerView.Adapter<ConnectionsAdapter. mConnectionsAdapter = connectionsAdapter; - addListeners(); + + /* This is totally weird */ + if (mRemoteSwitch!=null) + addListeners(); } public void addListeners() { |