Skip to content

Commit

Permalink
Fix crash (#4520)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Nov 19, 2021
1 parent eb32fd9 commit 909e93b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,10 @@ class BootstrapBottomSheet : VectorBaseBottomSheetDialogFragment<BottomSheetBoot

companion object {

const val EXTRA_ARGS = "EXTRA_ARGS"

fun show(fragmentManager: FragmentManager, mode: SetupMode): BootstrapBottomSheet {
return BootstrapBottomSheet().apply {
isCancelable = false
arguments = Bundle().apply {
this.putParcelable(EXTRA_ARGS, Args(setUpMode = mode))
}
setArguments(Args(setUpMode = mode))
}.also {
it.show(fragmentManager, "BootstrapBottomSheet")
}
Expand Down

0 comments on commit 909e93b

Please sign in to comment.