ui: remove some more non-null assertions on binding fields
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
d02543639b
commit
782550318a
@ -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() {
|
||||
|
@ -101,7 +101,7 @@ class TunnelListFragment : BaseFragment() {
|
||||
}
|
||||
executePendingBindings()
|
||||
}
|
||||
return binding!!.root
|
||||
return binding?.root
|
||||
}
|
||||
|
||||
override fun onDestroyView() {
|
||||
|
Loading…
Reference in New Issue
Block a user