mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 14:39:34 +01:00
refactor selection system
This commit is contained in:
@@ -13,11 +13,11 @@ import {TEMPLATE_DELETE} from '../DialogManager/templates';
|
||||
export const SelectionHeader = () => {
|
||||
// State
|
||||
const [state, dispatch] = useTracked();
|
||||
const {colors, selectionMode, selectedItemsList, currentScreen} = state;
|
||||
const {colors, selectionMode, selectedItemsList, currentScreen,containerState} = state;
|
||||
const [selectAll, setSelectAll] = useState(false);
|
||||
|
||||
|
||||
return (
|
||||
return (containerState.noSelectionHeader ? null :
|
||||
<Animatable.View
|
||||
transition={['translateY']}
|
||||
duration={300}
|
||||
|
||||
Reference in New Issue
Block a user