Skip to content

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

fix(welcome-page) Fix function name (#13097)

Robert Pintilii09426643cf56
diff --git a/react/features/welcome/components/WelcomePage.native.js b/react/features/welcome/components/WelcomePage.native.js
index 4017512ab4..94e2cbaa47 100644
--- a/react/features/welcome/components/WelcomePage.native.js
+++ b/react/features/welcome/components/WelcomePage.native.js
@@ -73,7 +73,7 @@ class WelcomePage extends AbstractWelcomePage<*> {
_onRoomChange: (string) => void;
- _updateRoomname: () => void;
+ _updateRoomName: () => void;
/**
* Implements React's {@link Component#componentDidMount()}. Invoked
@@ -96,14 +96,14 @@ class WelcomePage extends AbstractWelcomePage<*> {
});
navigation.addListener('focus', () => {
- this._updateRoomname();
+ this._updateRoomName();
});
navigation.addListener('blur', () => {
this._clearTimeouts();
this.setState({
- generatedRoomname: '',
+ generatedRoomName: '',
insecureRoomName: false,
room: ''
});
@@ -194,7 +194,7 @@ class WelcomePage extends AbstractWelcomePage<*> {
});
} else {
// Restart room placeholder animation.
- this._updateRoomname();
+ this._updateRoomName();
}
Animated.timing(
diff --git a/react/features/welcome/components/WelcomePage.web.js b/react/features/welcome/components/WelcomePage.web.js
index a7ab057414..22b940f599 100644
--- a/react/features/welcome/components/WelcomePage.web.js
+++ b/react/features/welcome/components/WelcomePage.web.js
@@ -48,7 +48,7 @@ class WelcomePage extends AbstractWelcomePage {
this.state = {
...this.state,
- generateRoomnames:
+ generateRoomNames:
interfaceConfig.GENERATE_ROOMNAMES_ON_WELCOME_PAGE
};
@@ -129,8 +129,8 @@ class WelcomePage extends AbstractWelcomePage {
document.body.classList.add('welcome-page');
document.title = interfaceConfig.APP_NAME;
- if (this.state.generateRoomnames) {
- this._updateRoomname();
+ if (this.state.generateRoomNames) {
+ this._updateRoomName();
}
if (this._shouldShowAdditionalContent()) {