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] Increase contrast and consistency in LoadingIndicator use cases

Lyubo Marinov1ea62215f68b
diff --git a/react/features/base/react/components/native/LoadingIndicator.js b/react/features/base/react/components/native/LoadingIndicator.js
index 3e865c90a6..fbd12225ce 100644
--- a/react/features/base/react/components/native/LoadingIndicator.js
+++ b/react/features/base/react/components/native/LoadingIndicator.js
@@ -3,6 +3,8 @@
import React, { Component } from 'react';
import { ActivityIndicator } from 'react-native';
+import { ColorPalette } from '../../../styles';
+
/**
* An animated, large react-native {@link ActivityIndicator} which is considered
* a suitable visualization of long-running processes with indeterminate amounts
@@ -19,7 +21,9 @@ export default class LoadingIndicator extends Component {
return (
<ActivityIndicator
animating = { true }
- size = { 'large' } />
+ color = { ColorPalette.white }
+ size = { 'large' }
+ { ...this.props } />
);
}
}
diff --git a/react/features/welcome/components/WelcomePage.native.js b/react/features/welcome/components/WelcomePage.native.js
index 723bf2c5af..4a90490cd7 100644
--- a/react/features/welcome/components/WelcomePage.native.js
+++ b/react/features/welcome/components/WelcomePage.native.js
@@ -109,7 +109,7 @@ class WelcomePage extends AbstractWelcomePage {
// modify non-native children.
children = (
<View>
- <LoadingIndicator />
+ <LoadingIndicator color = { styles.buttonText.color } />
</View>
);
} else {
diff --git a/react/features/welcome/components/styles.js b/react/features/welcome/components/styles.js
index 4209c90057..a2b93a8c4b 100644
--- a/react/features/welcome/components/styles.js
+++ b/react/features/welcome/components/styles.js
@@ -40,7 +40,7 @@ export default createStyleSheet({
*/
buttonText: {
alignSelf: 'center',
- color: '#00ccff',
+ color: ColorPalette.blue,
fontSize: 18
},