From daccfc2237ade2230128a872898861442b4edd67 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Sat, 20 Feb 2021 04:20:27 +0300 Subject: [PATCH] feat: fullscreen param for showDialog --- src/components/Dialog.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Dialog.tsx b/src/components/Dialog.tsx index 9836268..3ced4ef 100644 --- a/src/components/Dialog.tsx +++ b/src/components/Dialog.tsx @@ -34,11 +34,13 @@ interface DialogI { export const showDialog = ({ navigationController, dialog, + fullscreen, }: { dialog: Component navigationController: NavigationController + fullscreen?: Maybe }) => { - navigationController.push({ widget: dialog, fullscreen: false }) + navigationController.push({ widget: dialog, fullscreen: fullscreen ?? false }) } /**