Skip to content

Commit

Permalink
Crash on rotation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kennyc1012 committed Jul 13, 2021
1 parent 1255c22 commit 47c3d56
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ class BottomSheetMenuDialogFragment() : BottomSheetDialogFragment(), AdapterView
private var dismissEvent = BottomSheetListener.DISMISS_EVENT_MANUAL

override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
retainInstance = true
return BottomSheetDialog(requireActivity(), builder.style).apply {
setOnShowListener(DialogInterface.OnShowListener {

Expand Down

0 comments on commit 47c3d56

Please sign in to comment.