Skip to content

Commit

Permalink
uniform import style
Browse files Browse the repository at this point in the history
  • Loading branch information
tmgrask committed Oct 4, 2024
1 parent d014fb5 commit 5eafed1
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/app/(app)/intro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
useSVG,
vec,
} from "@shopify/react-native-skia";
import { router } from "expo-router";
import React from "react";
import { View, useWindowDimensions } from "react-native";
import {
Expand All @@ -27,10 +28,9 @@ import {
withSpring,
withTiming,
} from "react-native-reanimated";
import { useSafeAreaInsets } from "react-native-safe-area-context";

import { palette, sharedStyles as ss } from "@/src/styles";
import { router } from "expo-router";
import { useSafeAreaInsets } from "react-native-safe-area-context";

function Orb({ cx, cy, r }: { cx: number; cy: number; r: number }) {
const win = useWindowDimensions();
Expand Down
18 changes: 9 additions & 9 deletions src/app/(app)/onboarding.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import AsyncStorage from "@react-native-async-storage/async-storage";
import {
Canvas,
Circle,
Expand All @@ -16,30 +17,29 @@ import {
vec,
} from "@shopify/react-native-skia";
import * as Notifications from "expo-notifications";
import { router } from "expo-router";
import React from "react";
import { useTranslation } from "react-i18next";
import { BackHandler, useWindowDimensions } from "react-native";
import {
Gesture,
GestureDetector,
GestureHandlerRootView,
} from "react-native-gesture-handler";
import Animated, {
runOnJS,
useDerivedValue,
useSharedValue,
withTiming,
} from "react-native-reanimated";
import { useSafeAreaInsets } from "react-native-safe-area-context";

import { drawBigFont } from "@/src/common/utils";
import { useNotificationsPermissions } from "@/src/components/NotificationsStatus";
import { PrivacyPolicyLink } from "@/src/components/PrivacyPolicyLink";
import { SafeAreaView } from "@/src/components/SafeAreaView";
import { OnboardingScene } from "@/src/components/canvas/OnboardingScene";
import { fonts, palette, sharedStyles as ss } from "@/src/styles";
import AsyncStorage from "@react-native-async-storage/async-storage";
import { router } from "expo-router";
import React from "react";
import {
Gesture,
GestureDetector,
GestureHandlerRootView,
} from "react-native-gesture-handler";
import { useSafeAreaInsets } from "react-native-safe-area-context";

export default function OnboardingScreen() {
const win = useWindowDimensions();
Expand Down
2 changes: 1 addition & 1 deletion src/components/canvas/Chains.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Group, Path, fitbox, rect } from "@shopify/react-native-skia";
import React from "react";
import {
Easing,
SharedValue,
Expand All @@ -13,7 +14,6 @@ import {
} from "react-native-reanimated";

import { palette } from "@/src/styles";
import React from "react";

export function Chains({
size,
Expand Down
2 changes: 1 addition & 1 deletion src/components/canvas/OnboardingScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SharedValue } from "react-native-reanimated";

import { Chains } from "@/src/components/canvas/Chains";
import { FlexibleOrb } from "@/src/components/canvas/FlexibleOrb";
import { Phone } from "./Phone";
import { Phone } from "@/src/components/canvas/Phone";

interface OnboardingSceneProps {
currentView: SharedValue<number>;
Expand Down
3 changes: 2 additions & 1 deletion src/components/canvas/Phone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ import {
withTiming,
} from "react-native-reanimated";
import { SharedValue } from "react-native-reanimated/lib/typescript/Animated";
import { ConduitConnectionLight } from "./ConduitConnectionLight";

import { ConduitConnectionLight } from "@/src/components/canvas/ConduitConnectionLight";

interface PhoneProps {
currentView: SharedValue<number>;
Expand Down

0 comments on commit 5eafed1

Please sign in to comment.