Skip to content

Commit

Permalink
fix #11
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaviva committed Jan 31, 2021
1 parent 9439d02 commit 7b969cd
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ internal class ReportFragment : Fragment() {

private fun addRealFragment() {
mChildFragmentManager.beginTransaction().apply {
_realFragment.arguments = arguments
_realFragment.arguments = requireNotNull(arguments).apply {
if (_realFragment.arguments != null) {
putAll(_realFragment.arguments)
}
}
add(R.id.container, _realFragment)
commitNow()
}
Expand Down

0 comments on commit 7b969cd

Please sign in to comment.