TP-60588 | Loader added
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
import { COLORS } from '@rn-ui-lib/colors';
|
||||
import ProgressBar from './ProgressBar';
|
||||
import React, { forwardRef, useImperativeHandle, useState } from 'react';
|
||||
import { View, StyleSheet } from 'react-native';
|
||||
import { View, StyleSheet, ActivityIndicator } from 'react-native';
|
||||
import { DownloadProgress } from 'react-native-code-push';
|
||||
import ModalWrapperForAlfredV2 from '@common/ModalWrapperForAlfredV2';
|
||||
import LottieView from 'lottie-react-native';
|
||||
import Text from '@rn-ui-lib/components/Text';
|
||||
import NaviLogoWithTextIcon from '@rn-ui-lib/icons/NaviLogoWithTextIcon';
|
||||
import { GenericStyles } from '@rn-ui-lib/styles';
|
||||
import lottieJson from './loader.json';
|
||||
|
||||
export interface CodePushLoadingModalRef {
|
||||
show: () => void;
|
||||
@@ -36,7 +34,7 @@ const CodePushLoadingModal = forwardRef<CodePushLoadingModalRef>((_, ref) => {
|
||||
<View style={styles.modalContainer}>
|
||||
<View style={styles.modalContent}>
|
||||
<View style={styles.LottieContainerStyles}>
|
||||
<LottieView style={styles.LottieStyles} source={lottieJson} autoPlay loop />
|
||||
<ActivityIndicator size={'large'} color={COLORS.BASE.BLUE} />
|
||||
</View>
|
||||
|
||||
{progress ? (
|
||||
|
||||
Reference in New Issue
Block a user