diff --git a/react/features/room-lock/components/PasswordRequiredPrompt.native.js b/react/features/room-lock/components/PasswordRequiredPrompt.native.js index 76f9d7334..5d6253129 100644 --- a/react/features/room-lock/components/PasswordRequiredPrompt.native.js +++ b/react/features/room-lock/components/PasswordRequiredPrompt.native.js @@ -4,19 +4,10 @@ import React, { Component } from 'react'; import { connect } from 'react-redux'; import { setPassword } from '../../base/conference'; -import { Dialog } from '../../base/dialog'; +import { InputDialog } from '../../base/dialog'; import { _cancelPasswordRequiredPrompt } from '../actions'; -/** - * The style of the {@link TextInput} rendered by - * {@code PasswordRequiredPrompt}. As it requests the entry of a password, the - * entry should better be secure. - */ -const _TEXT_INPUT_PROPS = { - secureTextEntry: true -}; - /** * {@code PasswordRequiredPrompt}'s React {@code Component} prop types. */ @@ -62,12 +53,13 @@ class PasswordRequiredPrompt extends Component { */ render() { return ( - + textInputProps = {{ + secureTextEntry: true + }} /> ); } diff --git a/react/features/room-lock/components/RoomLockPrompt.native.js b/react/features/room-lock/components/RoomLockPrompt.native.js index 7b54ffa50..f2df9555b 100644 --- a/react/features/room-lock/components/RoomLockPrompt.native.js +++ b/react/features/room-lock/components/RoomLockPrompt.native.js @@ -3,7 +3,7 @@ import React, { Component } from 'react'; import { connect } from 'react-redux'; -import { Dialog } from '../../base/dialog'; +import { InputDialog } from '../../base/dialog'; import { endRoomLockRequest } from '../actions'; @@ -60,12 +60,11 @@ class RoomLockPrompt extends Component { */ render() { return ( - + textInputProps = { _TEXT_INPUT_PROPS } /> ); }