diff --git a/Cargo.lock b/Cargo.lock index b2a983903..126cdd1ef 100644 Binary files a/Cargo.lock and b/Cargo.lock differ diff --git a/apps/landing/contentlayer.config.ts b/apps/landing/contentlayer.config.ts index b7bb13f3e..3e34ab14f 100644 --- a/apps/landing/contentlayer.config.ts +++ b/apps/landing/contentlayer.config.ts @@ -98,7 +98,7 @@ export const Document = defineDocumentType(() => ({ .replace(/^.+?(\/)/, '') .split('/') .slice(-1)[0] - ) + ) }, section: { type: 'string', diff --git a/apps/landing/src/app/Downloads/Platform.tsx b/apps/landing/src/app/Downloads/Platform.tsx index e7b5decc3..c1ec0c810 100644 --- a/apps/landing/src/app/Downloads/Platform.tsx +++ b/apps/landing/src/app/Downloads/Platform.tsx @@ -86,7 +86,7 @@ export function Platform({ platform, ...props }: ComponentProps<'a'> & PlatformP href={`${BASE_DL_LINK}/${platform.os}/${links[0].arch}`} {...props} /> - ) + ) : (props: any) => : (props: any) =>
; diff --git a/apps/mobile/modules/sd-core/ios/build-rust.sh b/apps/mobile/modules/sd-core/ios/build-rust.sh index 32f8c9e32..a6a551065 100755 --- a/apps/mobile/modules/sd-core/ios/build-rust.sh +++ b/apps/mobile/modules/sd-core/ios/build-rust.sh @@ -27,10 +27,10 @@ TARGET_DIRECTORY="${__dirname}/../../../../../target" mkdir -p "$TARGET_DIRECTORY" TARGET_DIRECTORY="$(CDPATH='' cd -- "$TARGET_DIRECTORY" && pwd -P)" -if [ "${CONFIGURATION:-}" != "Debug" ]; then - CARGO_FLAGS=--release - export CARGO_FLAGS -fi +# if [ "${CONFIGURATION:-}" != "Debug" ]; then +# CARGO_FLAGS=--release +# export CARGO_FLAGS +# fi # Required for CI and for everyone I guess? export PATH="${CARGO_HOME:-"${HOME}/.cargo"}/bin:$PATH" diff --git a/apps/mobile/package.json b/apps/mobile/package.json index fdc6e1a5f..426dd97a9 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -37,9 +37,9 @@ "class-variance-authority": "^0.7.0", "dayjs": "^1.11.10", "event-target-polyfill": "^0.0.3", - "expo": "~50.0.6", + "expo": "~50.0.7", "expo-av": "^13.10.5", - "expo-blur": "^12.9.1", + "expo-blur": "^12.9.2", "expo-build-properties": "~0.11.1", "expo-linking": "~6.2.2", "expo-media-library": "~15.9.1", @@ -53,6 +53,7 @@ "react-hook-form": "^7.47.0", "react-native": "0.73.4", "react-native-circular-progress": "^1.3.9", + "react-native-device-info": "^10.13.1", "react-native-document-picker": "^9.0.1", "react-native-file-viewer": "^2.1.5", "react-native-gesture-handler": "~2.14.1", diff --git a/apps/mobile/src/components/browse/BrowseTags.tsx b/apps/mobile/src/components/browse/BrowseTags.tsx index 125be6cac..0a33378ec 100644 --- a/apps/mobile/src/components/browse/BrowseTags.tsx +++ b/apps/mobile/src/components/browse/BrowseTags.tsx @@ -1,10 +1,10 @@ import { useNavigation } from '@react-navigation/native'; -import { Tag, useCache, useLibraryQuery, useNodes } from '@sd/client'; import { DotsThreeOutlineVertical, Eye, Pen, Plus, Trash } from 'phosphor-react-native'; import React, { useRef } from 'react'; import { Animated, Pressable, Text, View } from 'react-native'; import { FlatList, Swipeable } from 'react-native-gesture-handler'; import { ClassInput } from 'twrnc/dist/esm/types'; +import { Tag, useCache, useLibraryQuery, useNodes } from '@sd/client'; import { ModalRef } from '~/components/layout/Modal'; import { tw, twStyle } from '~/lib/tailwind'; import { BrowseStackScreenProps } from '~/navigation/tabs/BrowseStack'; @@ -24,12 +24,7 @@ type TagItemProps = { viewStyle?: 'grid' | 'list'; }; -export const TagItem = ({ - tag, - onPress, - tagStyle, - viewStyle = 'grid' -}: TagItemProps) => { +export const TagItem = ({ tag, onPress, tagStyle, viewStyle = 'grid' }: TagItemProps) => { const modalRef = useRef- {t("spacedrop_description")} -
- {discoveredPeers.size === 0 &&- {t("no_nodes_found")} -
-{t('spacedrop_description')}
+ {discoveredPeers.size === 0 && ( +{t('no_nodes_found')}
+