ui: replace deprecated onActivityCreated with onViewCreated

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-09-17 20:00:37 +05:30
parent 306d0648c6
commit a906c478c9
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80

View File

@ -172,8 +172,8 @@ class TunnelListFragment : BaseFragment() {
}
}
override fun onActivityCreated(savedInstanceState: Bundle?) {
super.onActivityCreated(savedInstanceState)
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
if (savedInstanceState != null) {
val checkedItems = savedInstanceState.getIntegerArrayList(CHECKED_ITEMS)
if (checkedItems != null) {