From 80ffbc511ddf83f80f7853f5223e6018dc21f097 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Sat, 8 Jul 2023 11:50:26 +0500 Subject: [PATCH] mobile: fix build --- apps/mobile/app/components/attachments/attachment-item.js | 2 +- apps/mobile/app/components/intro/index.js | 2 +- packages/editor-mobile/src/components/statusbar.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/mobile/app/components/attachments/attachment-item.js b/apps/mobile/app/components/attachments/attachment-item.js index 1acc992b1..bc9aec45e 100644 --- a/apps/mobile/app/components/attachments/attachment-item.js +++ b/apps/mobile/app/components/attachments/attachment-item.js @@ -23,7 +23,7 @@ import Icon from "react-native-vector-icons/MaterialCommunityIcons"; import { db } from "../../common/database"; import { useAttachmentProgress } from "../../hooks/use-attachment-progress"; import { useThemeColors } from "@notesnook/theme"; -import { formatBytes } from "../../utils"; +import { formatBytes } from "@notesnook/common"; import { SIZE } from "../../utils/size"; import SheetProvider from "../sheet-provider"; import { IconButton } from "../ui/icon-button"; diff --git a/apps/mobile/app/components/intro/index.js b/apps/mobile/app/components/intro/index.js index c801a4e91..449eb6f7c 100644 --- a/apps/mobile/app/components/intro/index.js +++ b/apps/mobile/app/components/intro/index.js @@ -28,7 +28,7 @@ import { } from "react-native"; import { SwiperFlatList } from "react-native-swiper-flatlist"; import Icon from "react-native-vector-icons/MaterialCommunityIcons"; -import { getElevationStyle } from "../../../utils/elevation"; +import { getElevationStyle } from "../../utils/elevation"; import useGlobalSafeAreaInsets from "../../hooks/use-global-safe-area-insets"; import SettingsService from "../../services/settings"; import { useSettingStore } from "../../stores/use-setting-store"; diff --git a/packages/editor-mobile/src/components/statusbar.tsx b/packages/editor-mobile/src/components/statusbar.tsx index a618010df..08603856d 100644 --- a/packages/editor-mobile/src/components/statusbar.tsx +++ b/packages/editor-mobile/src/components/statusbar.tsx @@ -80,7 +80,7 @@ function StatusBar({ container }: { container: RefObject }) { marginTop: 0, marginBottom: 0, fontSize: "12px", - color: "var(--nn_primary_icon)", + color: "var(--nn_secondary_paragraph)", marginRight: 8, paddingBottom: 0, userSelect: "none",