diff --git a/ui/src/main/java/com/wireguard/android/fragment/TunnelListFragment.kt b/ui/src/main/java/com/wireguard/android/fragment/TunnelListFragment.kt index 3fbc3451..6d1c3fee 100644 --- a/ui/src/main/java/com/wireguard/android/fragment/TunnelListFragment.kt +++ b/ui/src/main/java/com/wireguard/android/fragment/TunnelListFragment.kt @@ -239,7 +239,7 @@ class TunnelListFragment : BaseFragment() { resources = null animateFab(binding?.createFab, true) checkedItems.clear() - binding!!.tunnelList.adapter!!.notifyDataSetChanged() + binding?.tunnelList?.adapter?.notifyDataSetChanged() } override fun onPrepareActionMode(mode: ActionMode, menu: Menu): Boolean {