mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-22 18:47:44 +00:00
ref: to use blurview on ios appletv hero action button
This commit is contained in:
parent
d494732553
commit
cd2a80a542
2 changed files with 23 additions and 6 deletions
|
|
@ -1339,11 +1339,21 @@ const AppleTVHero: React.FC<AppleTVHeroProps> = ({
|
|||
onPress={handleSaveAction}
|
||||
activeOpacity={0.85}
|
||||
>
|
||||
<MaterialIcons
|
||||
name={inLibrary ? "bookmark" : "bookmark-outline"}
|
||||
size={24}
|
||||
color="white"
|
||||
/>
|
||||
{Platform.OS === 'ios' ? (
|
||||
<ExpoBlurView intensity={35} tint="light" style={styles.saveButtonBlur}>
|
||||
<MaterialIcons
|
||||
name={inLibrary ? "bookmark" : "bookmark-outline"}
|
||||
size={24}
|
||||
color="white"
|
||||
/>
|
||||
</ExpoBlurView>
|
||||
) : (
|
||||
<MaterialIcons
|
||||
name={inLibrary ? "bookmark" : "bookmark-outline"}
|
||||
size={24}
|
||||
color="white"
|
||||
/>
|
||||
)}
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
|
||||
|
|
@ -1496,11 +1506,18 @@ const styles = StyleSheet.create({
|
|||
height: 52,
|
||||
borderRadius: 30,
|
||||
backgroundColor: 'rgba(255,255,255,0.2)',
|
||||
overflow: 'hidden',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
borderWidth: 1.5,
|
||||
borderColor: 'rgba(255,255,255,0.3)',
|
||||
},
|
||||
saveButtonBlur: {
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
},
|
||||
paginationContainer: {
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ export const DEFAULT_SETTINGS: AppSettings = {
|
|||
// AI
|
||||
aiChatEnabled: false,
|
||||
// Metadata enrichment
|
||||
enrichMetadataWithTMDB: true,
|
||||
enrichMetadataWithTMDB: false,
|
||||
useTmdbLocalizedMetadata: false,
|
||||
// Granular TMDB enrichment controls (all enabled by default for backward compatibility)
|
||||
tmdbEnrichCast: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue