From c01732845408f209dd8dcaa0be942c5609239556 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sat, 5 Oct 2024 20:30:07 +0100 Subject: fix(mobile): Drop the floating add button. Fixes #439 --- apps/mobile/app/dashboard/(tabs)/index.tsx | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/apps/mobile/app/dashboard/(tabs)/index.tsx b/apps/mobile/app/dashboard/(tabs)/index.tsx index 01b17276..de418be0 100644 --- a/apps/mobile/app/dashboard/(tabs)/index.tsx +++ b/apps/mobile/app/dashboard/(tabs)/index.tsx @@ -1,10 +1,9 @@ import { useRef } from "react"; -import { Platform, Pressable, View } from "react-native"; +import { Platform, View } from "react-native"; import * as Haptics from "expo-haptics"; import * as ImagePicker from "expo-image-picker"; import NoteEditorModal from "@/components/bookmarks/NewBookmarkModal"; import UpdatingBookmarkList from "@/components/bookmarks/UpdatingBookmarkList"; -import { TailwindResolver } from "@/components/TailwindResolver"; import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView"; import PageTitle from "@/components/ui/PageTitle"; import { useToast } from "@/components/ui/Toast"; @@ -12,7 +11,7 @@ import useAppSettings from "@/lib/settings"; import { useUploadAsset } from "@/lib/upload"; import { BottomSheetModal } from "@gorhom/bottom-sheet"; import { MenuView } from "@react-native-menu/menu"; -import { Plus, SquarePen } from "lucide-react-native"; +import { Plus } from "lucide-react-native"; function HeaderRight({ openNewBookmarkModal, @@ -66,7 +65,7 @@ function HeaderRight({ shouldOpenOnLongPress={false} > - Haptics.selectionAsync()} /> @@ -92,17 +91,6 @@ export default function Home() { } /> - newBookmarkModal.current?.present()} - > - ( - - )} - className="text-background" - /> - ); } -- cgit v1.2.3-70-g09d2