Remove blur view.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { BlurView } from "expo-blur";
|
||||
import * as Haptics from "expo-haptics";
|
||||
import { useRouter } from "expo-router";
|
||||
import React, { memo, useCallback } from "react";
|
||||
@@ -51,7 +50,8 @@ function JobListItemComponent({ openImagePicker, item }) {
|
||||
style={({ pressed }) => [styles.pressable, pressed && { opacity: 0.85 }]}
|
||||
>
|
||||
<View style={styles.outerShadow}>
|
||||
<BlurView
|
||||
<View
|
||||
experimentalBlurMethod="true"
|
||||
intensity={Platform.OS === "ios" ? 30 : 0}
|
||||
tint={theme.dark ? "dark" : "light"}
|
||||
style={styles.blurContainer}
|
||||
@@ -104,7 +104,7 @@ function JobListItemComponent({ openImagePicker, item }) {
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
</BlurView>
|
||||
</View>
|
||||
</View>
|
||||
</Pressable>
|
||||
);
|
||||
|
||||
@@ -126,12 +126,7 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
progressText: {
|
||||
flex: 1,
|
||||
flexShrink: 1, // allow shrinking so ellipsis can appear
|
||||
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',
|
||||
flexShrink: 1,
|
||||
},
|
||||
progressBarContainer: {
|
||||
flex: 3,
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
"dinero.js": "^1.9.1",
|
||||
"expo": "~54.0.12",
|
||||
"expo-application": "~7.0.7",
|
||||
"expo-blur": "~13.0.0",
|
||||
"expo-constants": "~18.0.9",
|
||||
"expo-dev-client": "~6.0.13",
|
||||
"expo-file-system": "~19.0.16",
|
||||
|
||||
Reference in New Issue
Block a user