refactor selection system

This commit is contained in:
ammarahm-ed
2020-05-10 22:19:10 +05:00
parent 9d2e1a1324
commit 6ca03ec6cd
2 changed files with 3 additions and 3 deletions

View File

@@ -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}