ui: remove some more non-null assertions on binding fields

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-04-21 16:37:31 +05:30
parent d02543639b
commit 782550318a
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class TunnelDetailFragment : BaseFragment() {
super.onCreateView(inflater, container, savedInstanceState)
binding = TunnelDetailFragmentBinding.inflate(inflater, container, false)
binding?.executePendingBindings()
return binding!!.root
return binding?.root
}
override fun onDestroyView() {

View File

@ -101,7 +101,7 @@ class TunnelListFragment : BaseFragment() {
}
executePendingBindings()
}
return binding!!.root
return binding?.root
}
override fun onDestroyView() {