|
@@ -70,13 +70,25 @@ class LobbyScreen extends AbstractLobbyScreen {
|
70
|
70
|
);
|
71
|
71
|
}
|
72
|
72
|
|
|
73
|
+ /**
|
|
74
|
+ * Renders the participant form to let the knocking participant enter its details.
|
|
75
|
+ *
|
|
76
|
+ * NOTE: We don't use edit action on web since the prejoin functionality got merged.
|
|
77
|
+ * Mobile won't use it either once prejoin gets implemented there too.
|
|
78
|
+ *
|
|
79
|
+ * @inheritdoc
|
|
80
|
+ */
|
|
81
|
+ _renderParticipantForm() {
|
|
82
|
+ return this._renderParticipantInfo();
|
|
83
|
+ }
|
|
84
|
+
|
73
|
85
|
/**
|
74
|
86
|
* Renders the participant info fragment when we have all the required details of the user.
|
75
|
87
|
*
|
76
|
88
|
* @inheritdoc
|
77
|
89
|
*/
|
78
|
90
|
_renderParticipantInfo() {
|
79
|
|
- const { displayName, email } = this.state;
|
|
91
|
+ const { displayName } = this.state;
|
80
|
92
|
const { t } = this.props;
|
81
|
93
|
|
82
|
94
|
return (
|
|
@@ -86,11 +98,6 @@ class LobbyScreen extends AbstractLobbyScreen {
|
86
|
98
|
onChange = { this._onChangeDisplayName }
|
87
|
99
|
placeHolder = { t('lobby.nameField') }
|
88
|
100
|
value = { displayName } />
|
89
|
|
-
|
90
|
|
- <InputField
|
91
|
|
- onChange = { this._onChangeEmail }
|
92
|
|
- placeHolder = { t('lobby.emailField') }
|
93
|
|
- value = { email } />
|
94
|
101
|
</div>
|
95
|
102
|
</div>
|
96
|
103
|
);
|