mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-21 00:32:04 +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}
|
onPress={handleSaveAction}
|
||||||
activeOpacity={0.85}
|
activeOpacity={0.85}
|
||||||
>
|
>
|
||||||
<MaterialIcons
|
{Platform.OS === 'ios' ? (
|
||||||
name={inLibrary ? "bookmark" : "bookmark-outline"}
|
<ExpoBlurView intensity={35} tint="light" style={styles.saveButtonBlur}>
|
||||||
size={24}
|
<MaterialIcons
|
||||||
color="white"
|
name={inLibrary ? "bookmark" : "bookmark-outline"}
|
||||||
/>
|
size={24}
|
||||||
|
color="white"
|
||||||
|
/>
|
||||||
|
</ExpoBlurView>
|
||||||
|
) : (
|
||||||
|
<MaterialIcons
|
||||||
|
name={inLibrary ? "bookmark" : "bookmark-outline"}
|
||||||
|
size={24}
|
||||||
|
color="white"
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
|
@ -1496,11 +1506,18 @@ const styles = StyleSheet.create({
|
||||||
height: 52,
|
height: 52,
|
||||||
borderRadius: 30,
|
borderRadius: 30,
|
||||||
backgroundColor: 'rgba(255,255,255,0.2)',
|
backgroundColor: 'rgba(255,255,255,0.2)',
|
||||||
|
overflow: 'hidden',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
borderWidth: 1.5,
|
borderWidth: 1.5,
|
||||||
borderColor: 'rgba(255,255,255,0.3)',
|
borderColor: 'rgba(255,255,255,0.3)',
|
||||||
},
|
},
|
||||||
|
saveButtonBlur: {
|
||||||
|
width: '100%',
|
||||||
|
height: '100%',
|
||||||
|
alignItems: 'center',
|
||||||
|
justifyContent: 'center',
|
||||||
|
},
|
||||||
paginationContainer: {
|
paginationContainer: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,7 @@ export const DEFAULT_SETTINGS: AppSettings = {
|
||||||
// AI
|
// AI
|
||||||
aiChatEnabled: false,
|
aiChatEnabled: false,
|
||||||
// Metadata enrichment
|
// Metadata enrichment
|
||||||
enrichMetadataWithTMDB: true,
|
enrichMetadataWithTMDB: false,
|
||||||
useTmdbLocalizedMetadata: false,
|
useTmdbLocalizedMetadata: false,
|
||||||
// Granular TMDB enrichment controls (all enabled by default for backward compatibility)
|
// Granular TMDB enrichment controls (all enabled by default for backward compatibility)
|
||||||
tmdbEnrichCast: true,
|
tmdbEnrichCast: true,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue