Skip to content

Commit b6bbcf5

Browse files
author
farfromrefug
committed
fix(bottomsheet): android fix for certain dismiss cases
1 parent 577b92c commit b6bbcf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bottomsheet/bottomsheet.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class ViewWithBottomSheet extends ViewWithBottomSheetBase {
8686
this.bindingContext = fromObject(options.context);
8787
this._raiseShownBottomSheetEvent();
8888
},
89-
dismissCallback: () => this._onDismissBottomSheetCallback()
89+
dismissCallback: () => this._onDismissBottomSheetCallback?.()
9090
};
9191
const dfListener = new com.nativescript.material.bottomsheet.BottomSheetDialogFragment.BottomSheetDialogFragmentListener({
9292
onCreateDialog(fragment: com.nativescript.material.bottomsheet.BottomSheetDialogFragment, savedInstanceState: android.os.Bundle): android.app.Dialog {

0 commit comments

Comments
 (0)