From 3a9ed9e18a1ead21da62335c847106b5c9077bcd Mon Sep 17 00:00:00 2001 From: cocobo1 Date: Mon, 5 May 2025 23:53:08 +0100 Subject: [PATCH] removed useless ios stuff --- dist/pupu.js | 3 +-- src/core/ui/settings/pages/General/About.tsx | 2 +- src/metro/common/components.ts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dist/pupu.js b/dist/pupu.js index ee5972a..2b69d06 100644 --- a/dist/pupu.js +++ b/dist/pupu.js @@ -6036,8 +6036,7 @@ }, { label: import_react_native15.Platform.select({ - android: Strings.CODENAME, - ios: Strings.MACHINE_ID + android: Strings.CODENAME }), version: debugInfo.device.codename, icon: "TagIcon" diff --git a/src/core/ui/settings/pages/General/About.tsx b/src/core/ui/settings/pages/General/About.tsx index 5bc71b0..68f07ca 100644 --- a/src/core/ui/settings/pages/General/About.tsx +++ b/src/core/ui/settings/pages/General/About.tsx @@ -71,7 +71,7 @@ export default function About() { icon: "MobilePhoneIcon" }, { - label: Platform.select({ android: Strings.CODENAME, ios: Strings.MACHINE_ID })!, + label: Platform.select({ android: Strings.CODENAME })!, version: debugInfo.device.codename, icon: "TagIcon" } diff --git a/src/metro/common/components.ts b/src/metro/common/components.ts index 954648c..491e67f 100644 --- a/src/metro/common/components.ts +++ b/src/metro/common/components.ts @@ -21,7 +21,7 @@ export const HelpMessage = findByNameLazy("HelpMessage"); // React Native's included SafeAreaView only adds padding on iOS. // The project doesnt build without it so it kinda has to sit here -export const { SafeAreaView, SafeAreaProvider, useSafeAreaInsets } = lazyDestructure(() => findByProps("useSafeAreaInsets")); +//export const { SafeAreaView, SafeAreaProvider, useSafeAreaInsets } = lazyDestructure(() => findByProps("useSafeAreaInsets")); // ActionSheet export const ActionSheetRow = findProp("ActionSheetRow");