some minor changes

This commit is contained in:
ammarahm-ed
2020-09-07 19:19:54 +05:00
parent 349860206b
commit 6a5cb75b1e
3 changed files with 8 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ const SimpleList = ({
const searchResults = {...state.searchResults};
const [refreshing, setRefreshing] = useState(false);
const insets = useSafeArea();
const _onScroll = event => {
const _onScroll = (event) => {
if (!event) return;
let y = event.nativeEvent.contentOffset.y;
eSendEvent(eScrollEvent, y);