From c503187dc12a4cbcd6b1db2b869241c45962291e Mon Sep 17 00:00:00 2001 From: Bettenbuk Zoltan Date: Thu, 10 Jan 2019 15:41:54 +0100 Subject: [PATCH] [RN] Fix input dialog value bug --- react/features/base/dialog/components/native/BaseDialog.js | 2 +- react/features/base/dialog/components/native/InputDialog.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/react/features/base/dialog/components/native/BaseDialog.js b/react/features/base/dialog/components/native/BaseDialog.js index d5d01498a..2657a1d9c 100644 --- a/react/features/base/dialog/components/native/BaseDialog.js +++ b/react/features/base/dialog/components/native/BaseDialog.js @@ -73,7 +73,7 @@ class BaseDialog extends AbstractDialog { _onCancel: () => void; - _onSubmit: () => boolean; + _onSubmit: ?string => boolean; /** * Renders the content of the dialog. diff --git a/react/features/base/dialog/components/native/InputDialog.js b/react/features/base/dialog/components/native/InputDialog.js index 9ed9ea660..e50233580 100644 --- a/react/features/base/dialog/components/native/InputDialog.js +++ b/react/features/base/dialog/components/native/InputDialog.js @@ -85,7 +85,7 @@ class InputDialog extends BaseDialog { { }); } - _onSubmit: ?string => boolean; + _onSubmit: (?string) => boolean; _onSubmitValue: () => boolean;