fixed issue caused by lint and merge

This commit is contained in:
Nouman Tahir 2022-10-20 12:45:04 +05:00
parent c1fec3a8e0
commit d742d3a5a8
7 changed files with 11 additions and 19 deletions

3
App.js
View File

@ -1,9 +1,8 @@
// eslint-disable-next-line
import { Alert } from 'react-native';
import App from './src/index';
if (__DEV__) {
import('./reactotron-config').then(() => { Alert.alert("reatotron working"); console.log('Reactotron Configured')}).catch((err)=>Alert.alert(err.message));
import('./reactotron-config').then(() => { console.log('Reactotron Configured')});
}
export default App;

View File

@ -10,7 +10,7 @@ module.exports = {
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: true,
inlineRequires: false,
},
}),
},

View File

@ -33,7 +33,7 @@ const UserListItem = ({
rightItemRenderer,
}) => {
const _handleRightButtonPress = () => {
if (onPressRightText){
if (onPressRightText) {
const _data = {};
_data.following = username;
@ -109,12 +109,11 @@ const UserListItem = ({
ref={setPopoverAnchor}
style={styles.rightWrapper}
onPress={() => {
if (rightTooltipText){
if (rightTooltipText) {
openPopover();
}
_handleRightButtonPress();
>
}}>
<>
<Text
style={[

View File

@ -12,7 +12,6 @@ import ROUTES from '../../constants/routeNames';
// Styles
import styles, { CONTAINER_HEIGHT } from './styles';
import RootNavigation from '../../navigation/rootNavigation';
import { useIntl } from 'react-intl';
interface RemoteMessage {
data: {

View File

@ -30,7 +30,7 @@ export const QuickProfileModal = () => {
gestureEnabled={true}
containerStyle={styles.sheetContent}
onClose={_onClose}
indicatorColor={EStyleSheet.value('$primaryWhiteLightBackground')}
indicatorColor={EStyleSheet.value('$primaryWhiteLightBackground')}>
<QuickProfileContent username={profileModalUsername} onClose={_onClose} />
</ActionSheet>

View File

@ -6,7 +6,7 @@ import { connect } from 'react-redux';
import { injectIntl } from 'react-intl';
import RootNavigation from '../../../navigation/rootNavigation';
// import { AppNavigator } from '../../../navigation';
import { AppNavigator } from '../../../navigation';
// Services
import {
@ -115,10 +115,10 @@ class ApplicationScreen extends Component {
<Fragment>
{!isConnected && <NoInternetConnection />}
{/* <AppNavigator /> */}
<Text style={{ flex: 1, justifyContent: 'center', alignItems: 'center', color: 'green' }}>
I am working though
</Text>
<AppNavigator />
{/* <Text style={{ flex: 1, justifyContent: 'center', alignItems: 'center', color: 'green' }}> */}
{/* I am working though */}
{/* </Text> */}
</Fragment>
);
}

View File

@ -1640,11 +1640,6 @@
color "^4.2.3"
warn-once "^0.1.0"
"@react-navigation/compat@5.3.20":
version "5.3.20"
resolved "https://registry.yarnpkg.com/@react-navigation/compat/-/compat-5.3.20.tgz#96cc6995f4bd40f70958b420735a189a87b22a0e"
integrity sha512-4CDw3QRN2zKj2L1Fxjq6ZOK95EW8UOnW3Par1o+P07qc+dZTAL1poKeRx74yqGLQyGVawozTHOgyE8/XWjdDvg==
"@react-navigation/core@^6.4.0":
version "6.4.0"
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-6.4.0.tgz#c44d33a8d8ef010a102c7f831fc8add772678509"