mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
mobile: clear selection after deleting items
This commit is contained in:
committed by
Abdullah Atta
parent
8de57a1b5d
commit
513b4016b9
@@ -306,7 +306,10 @@ export const SelectionHeader = React.memo(
|
||||
deleteItems(
|
||||
undefined,
|
||||
useSelectionStore.getState().selectionMode
|
||||
);
|
||||
).then(() => {
|
||||
useSelectionStore.getState().clearSelection();
|
||||
useSelectionStore.getState().setSelectionMode(undefined);
|
||||
});
|
||||
}}
|
||||
tooltipText="Move to trash"
|
||||
tooltipPosition={1}
|
||||
|
||||
Reference in New Issue
Block a user