mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-11 17:45:38 +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,
|
||||
ViewStyle,
|
||||
TextStyle,
|
||||
ImageStyle,
|
||||
ActivityIndicator
|
||||
ImageStyle
|
||||
} from 'react-native';
|
||||
import { NavigationProp, useNavigation } from '@react-navigation/native';
|
||||
import { RootStackParamList } from '../../navigation/AppNavigator';
|
||||
|
|
@ -284,12 +283,6 @@ const FeaturedContent = ({ featuredContent, isSaved, handleSaveToLibrary }: Feat
|
|||
</LinearGradient>
|
||||
</ImageBackground>
|
||||
</Animated.View>
|
||||
|
||||
{!posterLoaded && (
|
||||
<View style={styles.backgroundFallback}>
|
||||
<ActivityIndicator color={colors.primary} size="large" />
|
||||
</View>
|
||||
)}
|
||||
</TouchableOpacity>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue