Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[RN] Fix assigning Dialog state

Saúl Ibarra Corretgé3633f2aac534
diff --git a/react/features/base/dialog/components/Dialog.native.js b/react/features/base/dialog/components/Dialog.native.js
index 501396d460..5be943e86f 100644
--- a/react/features/base/dialog/components/Dialog.native.js
+++ b/react/features/base/dialog/components/Dialog.native.js
@@ -76,7 +76,9 @@ class Dialog extends AbstractDialog<Props, State> {
constructor(props: Object) {
super(props);
- this.state.text = '';
+ this.state = {
+ text: ''
+ };
// Bind event handlers so they are only bound once per instance.
this._onChangeText = this._onChangeText.bind(this);