Skip to content

Commit c241f13

Browse files
committed
chore(expo): enable new architecture
1 parent e5aed83 commit c241f13

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@
1818
"tailwindCSS.experimental.classRegex": [
1919
"tw`([^`]*)"
2020
],
21+
"tailwindCSS.classFunctions": ["tw", "tw.color", "tw.style"],
2122
"svg.preview.background": "transparent"
2223
}

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"supportsTablet": true
9191
},
9292
"name": "Le Poulailler",
93-
"newArchEnabled": false,
93+
"newArchEnabled": true,
9494
"orientation": "portrait",
9595
"owner": "coworking-metz",
9696
"packagerOpts": {

src/app/(public)/(settings)/settings.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import tw, { useDeviceContext } from 'twrnc';
2525
import AppBlurView from '@/components/AppBlurView';
2626
import AppText from '@/components/AppText';
2727
import ErrorBadge from '@/components/ErrorBagde';
28-
import ErrorChip from '@/components/ErrorChip';
2928
import ProfilePicture from '@/components/Home/ProfilePicture';
3029
import SectionTitle from '@/components/Layout/SectionTitle';
3130
import ServiceRow from '@/components/Layout/ServiceRow';

src/app/(public)/onboarding.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const Onboarding = () => {
9090
'worklet';
9191
const translateX = interpolate(value, [-1, 0, 1], [-layoutWidth, 0, 0]);
9292

93-
const zIndex = interpolate(value, [-1, 0, 1], [300, 0, -300]);
93+
const zIndex = Math.round(interpolate(value, [-1, 0, 1], [300, 0, -300]));
9494
const opacity = interpolate(value, [-1, 0, 1], [0, 1, 0]);
9595

9696
const scale = interpolate(value, [-1, 0, 1], [1, 1, 0.8]);

src/components/Onboarding/Step.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Step = ({
2020
const [scrollContainerHeight, setScrollContainerHeight] = useState(0);
2121

2222
const maskStyle = useAnimatedStyle(() => {
23-
const zIndex = interpolate(animationValue.value, [-1, 0, 1], [300, 0, -300]);
23+
const zIndex = Math.round(interpolate(animationValue.value, [-1, 0, 1], [300, 0, -300]));
2424

2525
const maskBackgroundColor = interpolateColor(
2626
animationValue.value,

0 commit comments

Comments
 (0)