Skip to content

Commit

Permalink
feat: Change loading screen to use blue colour
Browse files Browse the repository at this point in the history
  • Loading branch information
justinhartman committed Nov 24, 2022
1 parent 8ae860d commit fc8c3ce
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions components/LoadingScreen.jsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
/**
* Loading Screen Component.
* LoadingScreen is a React component that renders a loading screen with an
* activity indicator.
*
* @author Justin Hartman <code@justhart.com>
* @copyright Copyright (c) 2022 Justin Hartman <https://justhart.com>
*/
import { PureComponent } from 'react';
import {
ActivityIndicator,
StyleSheet,
View,
} from 'react-native';
import { ActivityIndicator, StyleSheet, View } from 'react-native';

/**
* Create the style sheet.
*/
const styles = StyleSheet.create({
container: {
width: '100%',
Expand All @@ -27,7 +27,13 @@ const styles = StyleSheet.create({
});

/**
* Class describes loading screen component to use with network activity requests.
* A class that returns a React component that renders the loading screen with
* an activity indicator.
*
* @class LoadingScreen
* @interface LoadingScreen
* @extends {PureComponent}
* @returns {JSX.Element}
*/
class LoadingScreen extends PureComponent {
/**
Expand All @@ -38,7 +44,7 @@ class LoadingScreen extends PureComponent {
render() {
return (
<View style={[styles.container, styles.horizontal]}>
<ActivityIndicator size="large" color="#FF0000" />
<ActivityIndicator size="large" color="#067CFD" />
</View>
);
}
Expand Down

0 comments on commit fc8c3ce

Please sign in to comment.