fix TouchableOpacity imported from react-native-gesture-handler

This commit is contained in:
ammarahm-ed
2021-08-03 09:17:52 +05:00
parent e3d0525a84
commit d3cab4939f
6 changed files with 11 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
import React, {createRef} from 'react';
import {Keyboard, StyleSheet, TouchableOpacity, View} from 'react-native';
import {FlatList, ScrollView, TextInput} from 'react-native-gesture-handler';
import {Keyboard, StyleSheet, TouchableOpacity, View,TextInput} from 'react-native';
import {FlatList, ScrollView, } from 'react-native-gesture-handler';
import {notesnook} from '../../../e2e/test.ids';
import {useMenuStore} from '../../provider/stores';
import {DDS} from '../../services/DeviceDetection';

View File

@@ -1,7 +1,6 @@
import React, {useState} from 'react';
import {TouchableOpacity} from 'react-native';
import {TouchableOpacity,TextInput} from 'react-native';
import {View} from 'react-native';
import {TextInput} from 'react-native-gesture-handler';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import {useTracked} from '../../provider/index';
import {

View File

@@ -1,7 +1,6 @@
import React, {useEffect, useState} from 'react';
import {Platform} from 'react-native';
import {View} from 'react-native';
import {TouchableOpacity} from 'react-native-gesture-handler';
import {View,TouchableOpacity} from 'react-native';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import {PressableButton} from '../../../../components/PressableButton';
import Heading from '../../../../components/Typography/Heading';

View File

@@ -1,12 +1,11 @@
import React, {useEffect, useState} from 'react';
import {View} from 'react-native';
import React, { useEffect, useState } from 'react';
import Animated, { Easing, timing, useValue } from 'react-native-reanimated';
import { useTracked } from '../../../../provider';
import {
eSubscribeEvent,
eUnSubscribeEvent,
eUnSubscribeEvent
} from '../../../../services/EventManager';
import {useTracked} from '../../../../provider';
import Animated, {Easing, timing, useValue} from 'react-native-reanimated';
import {sleep} from '../../../../utils/TimeUtils';
import { sleep } from '../../../../utils/TimeUtils';
const ToolbarItemPin = ({format, color}) => {
const [state] = useTracked();

View File

@@ -1,7 +1,6 @@
import { getLinkPreview } from 'link-preview-js';
import React, { useEffect, useState } from 'react';
import { Image, ScrollView, View } from 'react-native';
import { TouchableOpacity } from 'react-native-gesture-handler';
import { Image, ScrollView, View,TouchableOpacity } from 'react-native';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import { ActionIcon } from '../../../../components/ActionIcon';
import Heading from '../../../../components/Typography/Heading';

View File

@@ -1,6 +1,5 @@
import React, {useEffect, useState} from 'react';
import {ScrollView, View} from 'react-native';
import {TouchableOpacity} from 'react-native-gesture-handler';
import {ScrollView, View,TouchableOpacity} from 'react-native';
import Animated, {Easing, timing} from 'react-native-reanimated';
import {PressableButton} from '../../../../components/PressableButton';
import Heading from '../../../../components/Typography/Heading';