change: Use supportFragmentManager.commit
This commit is contained in:
parent
286a152fde
commit
6fd993acf6
|
@ -1,6 +1,7 @@
|
|||
package app.pachli.components.instancemute
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.fragment.app.commit
|
||||
import app.pachli.R
|
||||
import app.pachli.components.instancemute.fragment.InstanceListFragment
|
||||
import app.pachli.core.activity.BaseActivity
|
||||
|
@ -21,9 +22,8 @@ class InstanceListActivity : BaseActivity() {
|
|||
setDisplayShowHomeEnabled(true)
|
||||
}
|
||||
|
||||
supportFragmentManager
|
||||
.beginTransaction()
|
||||
.replace(R.id.fragment_container, InstanceListFragment())
|
||||
.commit()
|
||||
supportFragmentManager.commit {
|
||||
replace(R.id.fragment_container, InstanceListFragment())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue