Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
feat: fullscreen param for showDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Arenukvern committed Feb 20, 2021
1 parent 71844be commit daccfc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ interface DialogI {
export const showDialog = ({
navigationController,
dialog,
fullscreen,
}: {
dialog: Component
navigationController: NavigationController
fullscreen?: Maybe<boolean>
}) => {
navigationController.push({ widget: dialog, fullscreen: false })
navigationController.push({ widget: dialog, fullscreen: fullscreen ?? false })
}

/**
Expand Down

0 comments on commit daccfc2

Please sign in to comment.