Remove blur view.

This commit is contained in:
Patrick Fic
2025-10-21 13:16:03 -07:00
parent 31d151c3b4
commit 044be62f3d
3 changed files with 4 additions and 10 deletions

View File

@@ -1,4 +1,3 @@
import { BlurView } from "expo-blur";
import * as Haptics from "expo-haptics"; import * as Haptics from "expo-haptics";
import { useRouter } from "expo-router"; import { useRouter } from "expo-router";
import React, { memo, useCallback } from "react"; import React, { memo, useCallback } from "react";
@@ -51,7 +50,8 @@ function JobListItemComponent({ openImagePicker, item }) {
style={({ pressed }) => [styles.pressable, pressed && { opacity: 0.85 }]} style={({ pressed }) => [styles.pressable, pressed && { opacity: 0.85 }]}
> >
<View style={styles.outerShadow}> <View style={styles.outerShadow}>
<BlurView <View
experimentalBlurMethod="true"
intensity={Platform.OS === "ios" ? 30 : 0} intensity={Platform.OS === "ios" ? 30 : 0}
tint={theme.dark ? "dark" : "light"} tint={theme.dark ? "dark" : "light"}
style={styles.blurContainer} style={styles.blurContainer}
@@ -104,7 +104,7 @@ function JobListItemComponent({ openImagePicker, item }) {
/> />
</View> </View>
</View> </View>
</BlurView> </View>
</View> </View>
</Pressable> </Pressable>
); );

View File

@@ -126,12 +126,7 @@ const styles = StyleSheet.create({
}, },
progressText: { progressText: {
flex: 1, flex: 1,
flexShrink: 1, // allow shrinking so ellipsis can appear flexShrink: 1,
minWidth: 0, // ensures proper shrinking inside a flex row (especially on web)
// (Optional) If you find web still not clipping, you can uncomment the next lines:
// overflow: 'hidden',
// textOverflow: 'ellipsis',
// whiteSpace: 'nowrap',
}, },
progressBarContainer: { progressBarContainer: {
flex: 3, flex: 3,

View File

@@ -32,7 +32,6 @@
"dinero.js": "^1.9.1", "dinero.js": "^1.9.1",
"expo": "~54.0.12", "expo": "~54.0.12",
"expo-application": "~7.0.7", "expo-application": "~7.0.7",
"expo-blur": "~13.0.0",
"expo-constants": "~18.0.9", "expo-constants": "~18.0.9",
"expo-dev-client": "~6.0.13", "expo-dev-client": "~6.0.13",
"expo-file-system": "~19.0.16", "expo-file-system": "~19.0.16",