From 26b53e2ccc00befd182c4af05ab52fc439be7535 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Fri, 29 Mar 2024 14:17:36 +0000 Subject: mobile(android): Getting the android app ready for submission --- apps/mobile/app/dashboard/(tabs)/index.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'apps/mobile/app/dashboard/(tabs)/index.tsx') diff --git a/apps/mobile/app/dashboard/(tabs)/index.tsx b/apps/mobile/app/dashboard/(tabs)/index.tsx index 18fb804d..804eb0b5 100644 --- a/apps/mobile/app/dashboard/(tabs)/index.tsx +++ b/apps/mobile/app/dashboard/(tabs)/index.tsx @@ -1,4 +1,4 @@ -import { Platform, SafeAreaView, View } from "react-native"; +import { Platform, View } from "react-native"; import * as Haptics from "expo-haptics"; import * as ImagePicker from "expo-image-picker"; import { useRouter } from "expo-router"; @@ -9,6 +9,7 @@ import { useUploadAsset } from "@/lib/upload"; import { MenuView } from "@react-native-menu/menu"; import { SquarePen } from "lucide-react-native"; import { useToast } from "@/components/ui/Toast"; +import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView"; function HeaderRight() { const {toast} = useToast(); @@ -48,7 +49,6 @@ function HeaderRight() { title: "New Link", image: Platform.select({ ios: "link", - android: "ic_menu_link", }), }, { @@ -56,7 +56,6 @@ function HeaderRight() { title: "New Note", image: Platform.select({ ios: "note.text", - android: "ic_menu_note", }), }, { @@ -64,14 +63,13 @@ function HeaderRight() { title: "Photo Library", image: Platform.select({ ios: "photo", - android: "ic_menu_photo", }), }, ]} shouldOpenOnLongPress={false} > - Haptics.selectionAsync()} /> + Haptics.selectionAsync()} /> ); @@ -79,7 +77,7 @@ function HeaderRight() { export default function Home() { return ( - + } /> - + ); } -- cgit v1.2.3-70-g09d2