Skip to content

Commit d9a852c

Browse files
authored
chore: remove barrel files (#6675)
1 parent 605cc45 commit d9a852c

File tree

282 files changed

+681
-676
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

282 files changed

+681
-676
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module.exports = {
5454
'jsx-a11y/href-no-hash': 0,
5555
'jsx-a11y/aria-role': 0,
5656
'import/prefer-default-export': 0,
57-
'import/no-cycle': 0,
57+
'import/no-cycle': 2,
5858
'import/order': [
5959
'error',
6060
{

app/AppContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import MasterDetailStack from './stacks/MasterDetailStack';
1717
import ShareExtensionStack from './stacks/ShareExtensionStack';
1818
import { ThemeContext } from './theme';
1919
import { setCurrentScreen } from './lib/methods/helpers/log';
20-
import { themes } from './lib/constants';
20+
import { themes } from './lib/constants/colors';
2121
import { emitter } from './lib/methods/helpers';
2222

2323
const createStackNavigator = createNativeStackNavigator;

app/containers/ActionSheet/Handle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { View } from 'react-native';
33

44
import styles from './styles';
5-
import { themes } from '../../lib/constants';
5+
import { themes } from '../../lib/constants/colors';
66
import { useTheme } from '../../theme';
77

88
export const Handle = React.memo(() => {

app/containers/Avatar/AvatarContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { getUserSelector } from '../../selectors/login';
55
import Avatar from './Avatar';
66
import { IAvatar } from './interfaces';
77
import { useAvatarETag } from './useAvatarETag';
8-
import { useAppSelector } from '../../lib/hooks';
8+
import { useAppSelector } from '../../lib/hooks/useAppSelector';
99

1010
const AvatarContainer = ({
1111
style,

app/containers/Avatar/AvatarWithEdit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { IAvatar } from './interfaces';
77
import I18n from '../../i18n';
88
import { useTheme } from '../../theme';
99
import { BUTTON_HIT_SLOP } from '../message/utils';
10-
import { useAppSelector } from '../../lib/hooks';
10+
import { useAppSelector } from '../../lib/hooks/useAppSelector';
1111
import { compareServerVersion } from '../../lib/methods/helpers/compareServerVersion';
1212
import sharedStyles from '../../views/Styles';
1313

app/containers/BackgroundContainer/index.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33
import { ThemeContext, TSupportedThemes } from '../../theme';
44
import { longText } from '../../../.rnstorybook/utils';
55
import BackgroundContainer, { IBackgroundContainer } from '.';
6-
import { themes } from '../../lib/constants';
6+
import { themes } from '../../lib/constants/colors';
77

88
export default {
99
title: 'BackgroundContainer'

app/containers/BackgroundContainer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ActivityIndicator, ImageBackground, StyleSheet, Text, View } from 'reac
33

44
import { useTheme } from '../../theme';
55
import sharedStyles from '../../views/Styles';
6-
import { themes } from '../../lib/constants';
6+
import { themes } from '../../lib/constants/colors';
77

88
export interface IBackgroundContainer {
99
text?: string;

app/containers/CallHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { StyleSheet, Text, View } from 'react-native';
33
import Touchable from 'react-native-platform-touchable';
44

5-
import { useAppSelector } from '../lib/hooks';
5+
import { useAppSelector } from '../lib/hooks/useAppSelector';
66
import { useTheme } from '../theme';
77
import sharedStyles from '../views/Styles';
88
import { CustomIcon } from './CustomIcon';

app/containers/Check.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22

33
import { CustomIcon } from './CustomIcon';
4-
import { themes } from '../lib/constants';
4+
import { themes } from '../lib/constants/colors';
55
import { useTheme } from '../theme';
66

77
const Check = React.memo(() => {

app/containers/DirectoryItem/DirectoryItem.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { ScrollView } from 'react-native';
33

44
import DirectoryItem from './index';
5-
import { themes } from '../../lib/constants';
5+
import { themes } from '../../lib/constants/colors';
66

77
const _theme = 'light';
88

0 commit comments

Comments
 (0)