Chore: Evaluate UserItem - TypeScript (#3983)
* Chore: Evaluate UserItem - TypeScript * fix storyshot * minor tweaks * tweaks on comments * fix storyshot * move useritem from presentation to containers * remove comments
This commit is contained in:
parent
8268beeb67
commit
53eb251476
|
@ -1,8 +1,7 @@
|
|||
import React from 'react';
|
||||
// @ts-ignore
|
||||
import { Pressable, StyleProp, StyleSheet, Text, View, ViewStyle } from 'react-native';
|
||||
|
||||
import Avatar from '../containers/Avatar';
|
||||
import Avatar from './Avatar';
|
||||
import { CustomIcon } from '../lib/Icons';
|
||||
import sharedStyles from '../views/Styles';
|
||||
import { themes } from '../lib/constants';
|
|
@ -11,7 +11,7 @@ import { removeUser } from '../actions/selectedUsers';
|
|||
import KeyboardView from '../presentation/KeyboardView';
|
||||
import scrollPersistTaps from '../utils/scrollPersistTaps';
|
||||
import I18n from '../i18n';
|
||||
import UserItem from '../presentation/UserItem';
|
||||
import UserItem from '../containers/UserItem';
|
||||
import * as HeaderButton from '../containers/HeaderButton';
|
||||
import StatusBar from '../containers/StatusBar';
|
||||
import { SWITCH_TRACK_COLOR, themes } from '../lib/constants';
|
||||
|
|
|
@ -19,7 +19,7 @@ import { CustomIcon } from '../lib/Icons';
|
|||
import Navigation from '../lib/navigation/appNavigation';
|
||||
import { compareServerVersion } from '../lib/methods/helpers/compareServerVersion';
|
||||
import RocketChat from '../lib/rocketchat';
|
||||
import UserItem from '../presentation/UserItem';
|
||||
import UserItem from '../containers/UserItem';
|
||||
import { withTheme } from '../theme';
|
||||
import { goRoom } from '../utils/goRoom';
|
||||
import log, { events, logEvent } from '../utils/log';
|
||||
|
|
|
@ -19,7 +19,7 @@ import database from '../../lib/database';
|
|||
import { CustomIcon } from '../../lib/Icons';
|
||||
import protectedFunction from '../../lib/methods/helpers/protectedFunction';
|
||||
import RocketChat from '../../lib/rocketchat';
|
||||
import UserItem from '../../presentation/UserItem';
|
||||
import UserItem from '../../containers/UserItem';
|
||||
import { getUserSelector } from '../../selectors/login';
|
||||
import { ModalStackParamList } from '../../stacks/MasterDetailStack/types';
|
||||
import { withTheme } from '../../theme';
|
||||
|
|
|
@ -17,7 +17,7 @@ import { IApplicationState, IBaseScreen, ISubscription, IUser } from '../definit
|
|||
import I18n from '../i18n';
|
||||
import database from '../lib/database';
|
||||
import RocketChat from '../lib/rocketchat';
|
||||
import UserItem from '../presentation/UserItem';
|
||||
import UserItem from '../containers/UserItem';
|
||||
import { ISelectedUser } from '../reducers/selectedUsers';
|
||||
import { getUserSelector } from '../selectors/login';
|
||||
import { ChatsStackParamList } from '../stacks/types';
|
||||
|
|
Loading…
Reference in New Issue