From 3dba0bf4e6fd1eafc889f3f4f49cde8966524af6 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Thu, 9 Jul 2026 10:36:20 +0500 Subject: [PATCH] mobile: fix trash and note item ui --- apps/mobile/app/components/list-items/note/index.tsx | 6 +++--- apps/mobile/app/screens/notes/index.tsx | 6 ++++++ apps/mobile/app/screens/trash/index.tsx | 6 +++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/apps/mobile/app/components/list-items/note/index.tsx b/apps/mobile/app/components/list-items/note/index.tsx index 3ebbfb8f7..e8c40cf9a 100644 --- a/apps/mobile/app/components/list-items/note/index.tsx +++ b/apps/mobile/app/components/list-items/note/index.tsx @@ -465,8 +465,8 @@ const NoteItem = ({ > {isTrash ? ( extends NavigationProps { get: ( @@ -210,7 +212,11 @@ const NotesPage = ({ }); }} onPressDefaultRightButton={onPressFloatingButton} + style={{ + paddingHorizontal: Spacing.LEVEL_2 + }} /> + { paragraph: strings.clearTrashDesc(), positiveText: strings.clear(), negativeText: strings.cancel(), + centered: true, + icon: "warning-circle", + iconType: "error", + iconFamily: "notesnook", positivePress: async () => { await db.trash?.clear(); useTrashStore.getState().refresh(); @@ -51,7 +55,7 @@ const onPressFloatingButton = () => { context: "local" }); }, - positiveType: "errorShade" + positiveType: "accent" }); }; const PLACEHOLDER_DATA = (trashCleanupInterval = 7) => ({