diff options
Diffstat (limited to 'src/components/ui/loader/index.tsx')
-rw-r--r-- | src/components/ui/loader/index.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/ui/loader/index.tsx b/src/components/ui/loader/index.tsx index 2cee00d96..c0ae15028 100644 --- a/src/components/ui/loader/index.tsx +++ b/src/components/ui/loader/index.tsx | |||
@@ -4,6 +4,7 @@ import injectStyle, { WithStylesProps } from 'react-jss'; | |||
4 | import { Oval } from 'react-loader-spinner'; | 4 | import { Oval } from 'react-loader-spinner'; |
5 | import { inject } from 'mobx-react'; | 5 | import { inject } from 'mobx-react'; |
6 | import { FerdiumStores } from '../../../@types/stores.types'; | 6 | import { FerdiumStores } from '../../../@types/stores.types'; |
7 | import { DEFAULT_LOADER_COLOR } from '../../../config'; | ||
7 | 8 | ||
8 | const styles = () => ({ | 9 | const styles = () => ({ |
9 | container: { | 10 | container: { |
@@ -29,11 +30,11 @@ class LoaderComponent extends Component<IProps> { | |||
29 | const { | 30 | const { |
30 | classes, | 31 | classes, |
31 | className, | 32 | className, |
32 | size = 36, | 33 | size = 100, |
33 | color = this.props.stores?.settings.app.accentColor, | 34 | color = this.props.stores?.settings.app.accentColor, |
34 | loaded = false, | 35 | loaded = false, |
35 | } = this.props; | 36 | } = this.props; |
36 | const loaderColor = color || '#FFFFFF'; | 37 | const loaderColor = color ?? DEFAULT_LOADER_COLOR; |
37 | 38 | ||
38 | return ( | 39 | return ( |
39 | <div | 40 | <div |