summaryrefslogtreecommitdiff
path: root/main/src/ui
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2021-12-16 16:51:27 +0100
committerArne Schwabe <arne@rfc2549.org>2021-12-17 11:36:32 +0100
commit4466103d770c353cfb8d4ea08093560ba28d58b8 (patch)
treec796c52bccbd70ddf585239b5850837f5209c3e5 /main/src/ui
parentaa222c82c1bb3243817b74f6efce7cbc9676b4bc (diff)
Update OpenVPN and add support for the new xkey infrastructure in OpenVPN
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Diffstat (limited to 'main/src/ui')
-rw-r--r--main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Connections.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Connections.kt b/main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Connections.kt
index 75b87157..8ed9d9ef 100644
--- a/main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Connections.kt
+++ b/main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Connections.kt
@@ -50,8 +50,8 @@ class Settings_Connections : Settings_Fragment(), View.OnClickListener {
mRecyclerView.layoutManager =
LinearLayoutManager(activity, LinearLayoutManager.VERTICAL, false)
mRecyclerView.adapter = mConnectionsAdapter
- val fab_button = v.findViewById<View>(R.id.add_new_remote) as ImageButton
- fab_button.setOnClickListener(this)
+ val fab_button = v.findViewById<View>(R.id.add_new_remote) as ImageButton?
+ fab_button?.setOnClickListener(this)
mUseRandomRemote = v.findViewById<View>(R.id.remote_random) as Checkable
mUseRandomRemote.isChecked = mProfile.mRemoteRandom
mConnectionsAdapter.displayWarningIfNoneEnabled()