feat(base/ui/native): removed unused files and updated imports (#12477)
* feat(base/ui/native): removed unused files and updated imports
This commit is contained in:
parent
b321cf3639
commit
67cf6e6d18
|
@ -1,3 +0,0 @@
|
|||
// @flow
|
||||
|
||||
export { Switch as default } from 'react-native';
|
|
@ -2,12 +2,10 @@ import React from 'react';
|
|||
import { TouchableRipple } from 'react-native-paper';
|
||||
|
||||
import Icon from '../../../icons/components/Icon';
|
||||
import BaseTheme from '../../../ui/components/BaseTheme.native';
|
||||
import { BUTTON_TYPES } from '../../../ui/constants';
|
||||
import { IIconButtonProps } from '../../types';
|
||||
|
||||
// @ts-ignore
|
||||
import styles from './styles';
|
||||
import styles from '../../../react/components/native/styles';
|
||||
import { IIconButtonProps } from '../../../react/types';
|
||||
import { BUTTON_TYPES } from '../../constants';
|
||||
import BaseTheme from '../BaseTheme.native';
|
||||
|
||||
|
||||
const IconButton: React.FC<IIconButtonProps> = ({
|
|
@ -1 +0,0 @@
|
|||
export { default as Button } from './Button';
|
|
@ -1,21 +1,16 @@
|
|||
/* eslint-disable lines-around-comment */
|
||||
import React, { useCallback } from 'react';
|
||||
import { View } from 'react-native';
|
||||
import { useDispatch, useSelector } from 'react-redux';
|
||||
|
||||
import { openDialog, openSheet } from '../../../base/dialog/actions';
|
||||
import { IconHorizontalPoints } from '../../../base/icons/svg';
|
||||
import IconButton from '../../../base/react/components/native/IconButton';
|
||||
import Button from '../../../base/ui/components/native/Button';
|
||||
import IconButton from '../../../base/ui/components/native/IconButton';
|
||||
import { BUTTON_TYPES } from '../../../base/ui/constants';
|
||||
import MuteEveryoneDialog
|
||||
// @ts-ignore
|
||||
from '../../../video-menu/components/native/MuteEveryoneDialog';
|
||||
import MuteEveryoneDialog from '../../../video-menu/components/native/MuteEveryoneDialog';
|
||||
import { isMoreActionsVisible, isMuteAllVisible } from '../../functions';
|
||||
|
||||
// @ts-ignore
|
||||
import { ContextMenuMore } from './ContextMenuMore';
|
||||
// @ts-ignore
|
||||
import styles from './styles';
|
||||
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import { useDispatch } from 'react-redux';
|
|||
|
||||
import { openSheet } from '../../../base/dialog/actions';
|
||||
import { IconHangup } from '../../../base/icons/svg';
|
||||
import IconButton from '../../../base/react/components/native/IconButton';
|
||||
import IconButton from '../../../base/ui/components/native/IconButton';
|
||||
import { BUTTON_TYPES } from '../../../base/ui/constants';
|
||||
|
||||
import HangupMenu from './HangupMenu';
|
||||
|
|
Loading…
Reference in New Issue