Skip to content

Commit

Permalink
Fix app crash when show History in ClusterInteractionFragment (#25066)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored and pull[bot] committed Oct 18, 2023
1 parent 242c82c commit 7a1fd33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ClusterInteractionFragment : Fragment() {
private fun showFragment(fragment: Fragment) {
val fragmentTransaction = requireActivity().supportFragmentManager
.beginTransaction()
.replace(R.id.fragment_container, fragment, fragment.javaClass.simpleName)
.replace(R.id.nav_host_fragment, fragment, fragment.javaClass.simpleName)
fragmentTransaction.addToBackStack(null)
fragmentTransaction.commit()
}
Expand Down

0 comments on commit 7a1fd33

Please sign in to comment.