From c96d13d416dc7b88aeb4e36d643c347ee2cc59a4 Mon Sep 17 00:00:00 2001 From: sahil Date: Thu, 26 Mar 2026 14:28:27 +0500 Subject: [PATCH] mobile: fix icon and function name Signed-off-by: Sahil Aslam --- apps/mobile/app/components/sheets/editor-tabs/index.tsx | 6 +++--- apps/mobile/app/screens/editor/tiptap/use-tab-store.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/mobile/app/components/sheets/editor-tabs/index.tsx b/apps/mobile/app/components/sheets/editor-tabs/index.tsx index 26f13b002..3e7bab950 100644 --- a/apps/mobile/app/components/sheets/editor-tabs/index.tsx +++ b/apps/mobile/app/components/sheets/editor-tabs/index.tsx @@ -225,13 +225,13 @@ export default function EditorTabs({ }} > {strings.tabs()} - + { - useTabStore.getState().clearTabs(); + useTabStore.getState().clearAllTabs(); close?.(); }} - name="close" + name="delete-outline" color={colors.primary.icon} /> void; getCurrentNoteId: () => string | undefined; getTab: (tabId: string) => TabItem | undefined; - clearTabs: () => void; + clearAllTabs: () => void; newTabSession: ( id: string, options?: Omit, "id"> @@ -484,7 +484,7 @@ export const useTabStore = create( getTab: (tabId) => { return get().tabs.find((t) => t.id === tabId); }, - clearTabs: () => { + clearAllTabs: () => { const tabs = get().tabs; tabs.forEach((tab) => { const tabSessions = tabSessionHistory.getTabHistory(tab.id);