fix: improve sidebar performance

This commit is contained in:
ammarahm-ed
2019-12-11 01:10:04 +05:00
parent 68da704559
commit d44285c4a0
14 changed files with 84 additions and 38 deletions

View File

@@ -143,6 +143,7 @@ export const Menu = ({close = () => {}, hide, update = () => {}}) => {
activeOpacity={opacity}
onPress={() => {
item.close === false ? null : close();
item.func();
}}
style={{