mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-20 16:22:04 +00:00
Remove unused ActivityIndicator from FeaturedContent component to streamline code and improve readability.
This commit is contained in:
parent
18a1672eed
commit
d86a208778
1 changed files with 1 additions and 8 deletions
|
|
@ -8,8 +8,7 @@ import {
|
||||||
Dimensions,
|
Dimensions,
|
||||||
ViewStyle,
|
ViewStyle,
|
||||||
TextStyle,
|
TextStyle,
|
||||||
ImageStyle,
|
ImageStyle
|
||||||
ActivityIndicator
|
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import { NavigationProp, useNavigation } from '@react-navigation/native';
|
import { NavigationProp, useNavigation } from '@react-navigation/native';
|
||||||
import { RootStackParamList } from '../../navigation/AppNavigator';
|
import { RootStackParamList } from '../../navigation/AppNavigator';
|
||||||
|
|
@ -284,12 +283,6 @@ const FeaturedContent = ({ featuredContent, isSaved, handleSaveToLibrary }: Feat
|
||||||
</LinearGradient>
|
</LinearGradient>
|
||||||
</ImageBackground>
|
</ImageBackground>
|
||||||
</Animated.View>
|
</Animated.View>
|
||||||
|
|
||||||
{!posterLoaded && (
|
|
||||||
<View style={styles.backgroundFallback}>
|
|
||||||
<ActivityIndicator color={colors.primary} size="large" />
|
|
||||||
</View>
|
|
||||||
)}
|
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue