diff --git a/react/features/base/dialog/components/web/ModalHeader.tsx b/react/features/base/dialog/components/web/ModalHeader.tsx index 3817ccb77..2bfef0de6 100644 --- a/react/features/base/dialog/components/web/ModalHeader.tsx +++ b/react/features/base/dialog/components/web/ModalHeader.tsx @@ -18,7 +18,7 @@ import { translate } from '../../../i18n/functions'; import { IconCloseLarge } from '../../../icons/svg'; import { withPixelLineHeight } from '../../../styles/functions.web'; import Button from '../../../ui/components/web/Button'; -import { BUTTON_TYPES } from '../../../ui/constants'; +import { BUTTON_TYPES } from '../../../ui/constants.web'; const TitleIcon = ({ appearance }: { appearance?: 'danger' | 'warning'; }) => { if (!appearance) { diff --git a/react/features/base/dialog/components/web/StatelessDialog.tsx b/react/features/base/dialog/components/web/StatelessDialog.tsx index 581c55cb3..db66c18fb 100644 --- a/react/features/base/dialog/components/web/StatelessDialog.tsx +++ b/react/features/base/dialog/components/web/StatelessDialog.tsx @@ -7,7 +7,7 @@ import { WithTranslation } from 'react-i18next'; import { translate } from '../../../i18n/functions'; import Button from '../../../ui/components/web/Button'; -import { BUTTON_TYPES } from '../../../ui/constants'; +import { BUTTON_TYPES } from '../../../ui/constants.web'; import type { DialogProps } from '../../constants'; import ModalHeader from './ModalHeader'; diff --git a/react/features/base/ui/components/native/Button.tsx b/react/features/base/ui/components/native/Button.tsx index 172750f6c..c8b432d28 100644 --- a/react/features/base/ui/components/native/Button.tsx +++ b/react/features/base/ui/components/native/Button.tsx @@ -6,7 +6,7 @@ import { TouchableRipple } from 'react-native-paper'; -import { BUTTON_MODES, BUTTON_TYPES } from '../../constants'; +import { BUTTON_MODES, BUTTON_TYPES } from '../../constants.native'; import BaseTheme from '../BaseTheme.native'; import { IButtonProps } from '../types'; diff --git a/react/features/base/ui/components/native/IconButton.tsx b/react/features/base/ui/components/native/IconButton.tsx index ccbcb96d3..df1060a7a 100644 --- a/react/features/base/ui/components/native/IconButton.tsx +++ b/react/features/base/ui/components/native/IconButton.tsx @@ -6,7 +6,7 @@ import Icon from '../../../icons/components/Icon'; // @ts-ignore import styles from '../../../react/components/native/styles'; import { IIconButtonProps } from '../../../react/types'; -import { BUTTON_TYPES } from '../../constants'; +import { BUTTON_TYPES } from '../../constants.native'; import BaseTheme from '../BaseTheme.native'; diff --git a/react/features/base/ui/components/types.ts b/react/features/base/ui/components/types.ts index 124ea4041..61875cc51 100644 --- a/react/features/base/ui/components/types.ts +++ b/react/features/base/ui/components/types.ts @@ -1,6 +1,6 @@ import { GestureResponderEvent } from 'react-native'; -import { BUTTON_TYPES } from '../constants'; +import { BUTTON_TYPES } from '../constants.any'; export interface IButtonProps { diff --git a/react/features/base/ui/components/web/Button.tsx b/react/features/base/ui/components/web/Button.tsx index 7aa9893f3..f68048550 100644 --- a/react/features/base/ui/components/web/Button.tsx +++ b/react/features/base/ui/components/web/Button.tsx @@ -5,7 +5,7 @@ import { makeStyles } from 'tss-react/mui'; import Icon from '../../../icons/components/Icon'; import { withPixelLineHeight } from '../../../styles/functions.web'; -import { BUTTON_TYPES } from '../../constants'; +import { BUTTON_TYPES } from '../../constants.web'; import { IButtonProps } from '../types'; interface IProps extends IButtonProps { diff --git a/react/features/conference/components/native/LonelyMeetingExperience.js b/react/features/conference/components/native/LonelyMeetingExperience.js index e78b7341c..2a150d7d1 100644 --- a/react/features/conference/components/native/LonelyMeetingExperience.js +++ b/react/features/conference/components/native/LonelyMeetingExperience.js @@ -7,7 +7,7 @@ import { Icon, IconAddUser } from '../../../base/icons'; import { getParticipantCountWithFake } from '../../../base/participants'; import { connect } from '../../../base/redux'; import Button from '../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; import { isInBreakoutRoom } from '../../../breakout-rooms/functions'; import { doInvitePeople } from '../../../invite/actions.native'; diff --git a/react/features/conference/components/native/carmode/EndMeetingButton.tsx b/react/features/conference/components/native/carmode/EndMeetingButton.tsx index 47eaf5c65..a22d9ae82 100644 --- a/react/features/conference/components/native/carmode/EndMeetingButton.tsx +++ b/react/features/conference/components/native/carmode/EndMeetingButton.tsx @@ -4,10 +4,9 @@ import { useDispatch } from 'react-redux'; import { createToolbarEvent } from '../../../../analytics/AnalyticsEvents'; import { sendAnalytics } from '../../../../analytics/functions'; -// @ts-ignore -import { appNavigate } from '../../../../app/actions'; +import { appNavigate } from '../../../../app/actions.native'; import Button from '../../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../base/ui/constants.native'; import EndMeetingIcon from './EndMeetingIcon'; // @ts-ignore diff --git a/react/features/conference/components/native/carmode/SoundDeviceButton.tsx b/react/features/conference/components/native/carmode/SoundDeviceButton.tsx index 38b6a5a7a..6671b69e6 100644 --- a/react/features/conference/components/native/carmode/SoundDeviceButton.tsx +++ b/react/features/conference/components/native/carmode/SoundDeviceButton.tsx @@ -4,7 +4,7 @@ import { useDispatch } from 'react-redux'; import { openSheet } from '../../../../base/dialog/actions'; import Button from '../../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../base/ui/constants.native'; // @ts-ignore import AudioRoutePickerDialog from '../../../../mobile/audio-mode/components/AudioRoutePickerDialog'; diff --git a/react/features/deep-linking/components/DeepLinkingDesktopPage.web.js b/react/features/deep-linking/components/DeepLinkingDesktopPage.web.js index eab7cadc4..a54a58eae 100644 --- a/react/features/deep-linking/components/DeepLinkingDesktopPage.web.js +++ b/react/features/deep-linking/components/DeepLinkingDesktopPage.web.js @@ -9,7 +9,7 @@ import { isSupportedBrowser } from '../../base/environment'; import { translate } from '../../base/i18n'; import { connect } from '../../base/redux'; import Button from '../../base/ui/components/web/Button'; -import { BUTTON_TYPES } from '../../base/ui/constants'; +import { BUTTON_TYPES } from '../../base/ui/constants.web'; import { openDesktopApp, openWebApp diff --git a/react/features/lobby/components/native/LobbyScreen.js b/react/features/lobby/components/native/LobbyScreen.js index 0cffae728..b4cf73c29 100644 --- a/react/features/lobby/components/native/LobbyScreen.js +++ b/react/features/lobby/components/native/LobbyScreen.js @@ -10,7 +10,7 @@ import { ASPECT_RATIO_NARROW } from '../../../base/responsive-ui'; import BaseTheme from '../../../base/ui/components/BaseTheme.native'; import Button from '../../../base/ui/components/native/Button'; import Input from '../../../base/ui/components/native/Input'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; import { BrandingImageBackground } from '../../../dynamic-branding/components/native'; import { LargeVideo } from '../../../large-video/components'; import { navigate } diff --git a/react/features/participants-pane/components/breakout-rooms/components/native/AddBreakoutRoomButton.tsx b/react/features/participants-pane/components/breakout-rooms/components/native/AddBreakoutRoomButton.tsx index 0d97a50f5..90c56168a 100644 --- a/react/features/participants-pane/components/breakout-rooms/components/native/AddBreakoutRoomButton.tsx +++ b/react/features/participants-pane/components/breakout-rooms/components/native/AddBreakoutRoomButton.tsx @@ -2,7 +2,7 @@ import React, { useCallback } from 'react'; import { useDispatch } from 'react-redux'; import Button from '../../../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../../base/ui/constants.native'; import { createBreakoutRoom } from '../../../../../breakout-rooms/actions'; // @ts-ignore diff --git a/react/features/participants-pane/components/breakout-rooms/components/native/AutoAssignButton.tsx b/react/features/participants-pane/components/breakout-rooms/components/native/AutoAssignButton.tsx index e946e2b42..8ae550e19 100644 --- a/react/features/participants-pane/components/breakout-rooms/components/native/AutoAssignButton.tsx +++ b/react/features/participants-pane/components/breakout-rooms/components/native/AutoAssignButton.tsx @@ -2,7 +2,7 @@ import React, { useCallback } from 'react'; import { useDispatch } from 'react-redux'; import Button from '../../../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../../base/ui/constants.native'; import { autoAssignToBreakoutRooms } from '../../../../../breakout-rooms/actions'; // @ts-ignore diff --git a/react/features/participants-pane/components/breakout-rooms/components/native/LeaveBreakoutRoomButton.tsx b/react/features/participants-pane/components/breakout-rooms/components/native/LeaveBreakoutRoomButton.tsx index 2cd4de807..7df519336 100644 --- a/react/features/participants-pane/components/breakout-rooms/components/native/LeaveBreakoutRoomButton.tsx +++ b/react/features/participants-pane/components/breakout-rooms/components/native/LeaveBreakoutRoomButton.tsx @@ -5,7 +5,7 @@ import { useDispatch } from 'react-redux'; import { createBreakoutRoomsEvent } from '../../../../../analytics/AnalyticsEvents'; import { sendAnalytics } from '../../../../../analytics/functions'; import Button from '../../../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../../base/ui/constants.native'; import { moveToRoom } from '../../../../../breakout-rooms/actions'; // @ts-ignore diff --git a/react/features/participants-pane/components/breakout-rooms/components/web/AddBreakoutRoomButton.tsx b/react/features/participants-pane/components/breakout-rooms/components/web/AddBreakoutRoomButton.tsx index a840fe0be..68fbdf128 100644 --- a/react/features/participants-pane/components/breakout-rooms/components/web/AddBreakoutRoomButton.tsx +++ b/react/features/participants-pane/components/breakout-rooms/components/web/AddBreakoutRoomButton.tsx @@ -3,7 +3,7 @@ import { useTranslation } from 'react-i18next'; import { useDispatch } from 'react-redux'; import Button from '../../../../../base/ui/components/web/Button'; -import { BUTTON_TYPES } from '../../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../../base/ui/constants.web'; import { createBreakoutRoom } from '../../../../../breakout-rooms/actions'; export const AddBreakoutRoomButton = () => { diff --git a/react/features/participants-pane/components/breakout-rooms/components/web/AutoAssignButton.tsx b/react/features/participants-pane/components/breakout-rooms/components/web/AutoAssignButton.tsx index a8f868776..13db3f020 100644 --- a/react/features/participants-pane/components/breakout-rooms/components/web/AutoAssignButton.tsx +++ b/react/features/participants-pane/components/breakout-rooms/components/web/AutoAssignButton.tsx @@ -3,7 +3,7 @@ import { useTranslation } from 'react-i18next'; import { useDispatch } from 'react-redux'; import Button from '../../../../../base/ui/components/web/Button'; -import { BUTTON_TYPES } from '../../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../../base/ui/constants.web'; import { autoAssignToBreakoutRooms } from '../../../../../breakout-rooms/actions'; export const AutoAssignButton = () => { diff --git a/react/features/participants-pane/components/breakout-rooms/components/web/LeaveButton.tsx b/react/features/participants-pane/components/breakout-rooms/components/web/LeaveButton.tsx index 217bc0e4e..71af0c993 100644 --- a/react/features/participants-pane/components/breakout-rooms/components/web/LeaveButton.tsx +++ b/react/features/participants-pane/components/breakout-rooms/components/web/LeaveButton.tsx @@ -5,7 +5,7 @@ import { useDispatch } from 'react-redux'; import { createBreakoutRoomsEvent } from '../../../../../analytics/AnalyticsEvents'; import { sendAnalytics } from '../../../../../analytics/functions'; import Button from '../../../../../base/ui/components/web/Button'; -import { BUTTON_TYPES } from '../../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../../base/ui/constants.web'; import { moveToRoom } from '../../../../../breakout-rooms/actions'; export const LeaveButton = () => { diff --git a/react/features/participants-pane/components/native/LobbyParticipantItem.js b/react/features/participants-pane/components/native/LobbyParticipantItem.js index 0ac7b989c..c4e9fd306 100644 --- a/react/features/participants-pane/components/native/LobbyParticipantItem.js +++ b/react/features/participants-pane/components/native/LobbyParticipantItem.js @@ -5,7 +5,7 @@ import { useDispatch } from 'react-redux'; import { hasRaisedHand } from '../../../base/participants'; import Button from '../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; import { approveKnockingParticipant } from '../../../lobby/actions.native'; import { showContextMenuReject } from '../../actions.native'; import { MEDIA_STATE } from '../../constants'; diff --git a/react/features/participants-pane/components/native/LobbyParticipantList.js b/react/features/participants-pane/components/native/LobbyParticipantList.js index 4d322b8cf..c2411dc31 100644 --- a/react/features/participants-pane/components/native/LobbyParticipantList.js +++ b/react/features/participants-pane/components/native/LobbyParticipantList.js @@ -6,7 +6,7 @@ import { ScrollView, Text, View } from 'react-native'; import { useDispatch, useSelector } from 'react-redux'; import Button from '../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; import { admitMultiple } from '../../../lobby/actions.native'; import { getKnockingParticipants, getLobbyEnabled } from '../../../lobby/functions'; diff --git a/react/features/participants-pane/components/native/MeetingParticipantList.js b/react/features/participants-pane/components/native/MeetingParticipantList.js index ed597886d..6027bc463 100644 --- a/react/features/participants-pane/components/native/MeetingParticipantList.js +++ b/react/features/participants-pane/components/native/MeetingParticipantList.js @@ -10,7 +10,7 @@ import { getLocalParticipant, getParticipantCountWithFake, getRemoteParticipants import { connect } from '../../../base/redux'; import Button from '../../../base/ui/components/native/Button'; import Input from '../../../base/ui/components/native/Input'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; import { getBreakoutRooms, getCurrentRoomId } from '../../../breakout-rooms/functions'; import { doInvitePeople } from '../../../invite/actions.native'; import { participantMatchesSearch, shouldRenderInviteButton } from '../../functions'; diff --git a/react/features/participants-pane/components/native/ParticipantsPaneFooter.tsx b/react/features/participants-pane/components/native/ParticipantsPaneFooter.tsx index 289f2411a..a5c94bf95 100644 --- a/react/features/participants-pane/components/native/ParticipantsPaneFooter.tsx +++ b/react/features/participants-pane/components/native/ParticipantsPaneFooter.tsx @@ -7,7 +7,7 @@ import { openDialog, openSheet } from '../../../base/dialog/actions'; import { IconDotsHorizontal } from '../../../base/icons/svg'; import Button from '../../../base/ui/components/native/Button'; import IconButton from '../../../base/ui/components/native/IconButton'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; // @ts-ignore import MuteEveryoneDialog from '../../../video-menu/components/native/MuteEveryoneDialog'; import { isMoreActionsVisible, isMuteAllVisible } from '../../functions'; diff --git a/react/features/participants-pane/components/web/InviteButton.tsx b/react/features/participants-pane/components/web/InviteButton.tsx index 552bcfbed..2ed1b2177 100644 --- a/react/features/participants-pane/components/web/InviteButton.tsx +++ b/react/features/participants-pane/components/web/InviteButton.tsx @@ -6,7 +6,7 @@ import { createToolbarEvent } from '../../../analytics/AnalyticsEvents'; import { sendAnalytics } from '../../../analytics/functions'; import { IconAddUser } from '../../../base/icons/svg'; import Button from '../../../base/ui/components/web/Button'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.web'; // eslint-disable-next-line lines-around-comment // @ts-ignore import { beginAddPeople } from '../../../invite'; diff --git a/react/features/participants-pane/components/web/LobbyParticipantItem.tsx b/react/features/participants-pane/components/web/LobbyParticipantItem.tsx index 2f0f1232f..9bec78894 100644 --- a/react/features/participants-pane/components/web/LobbyParticipantItem.tsx +++ b/react/features/participants-pane/components/web/LobbyParticipantItem.tsx @@ -1,3 +1,5 @@ +// eslint-disable-next-line lines-around-comment + import { Theme } from '@mui/material'; import React, { useCallback, useRef, useState } from 'react'; import { useTranslation } from 'react-i18next'; @@ -10,7 +12,7 @@ import { IParticipant } from '../../../base/participants/types'; import Button from '../../../base/ui/components/web/Button'; import ContextMenu from '../../../base/ui/components/web/ContextMenu'; import ContextMenuItemGroup from '../../../base/ui/components/web/ContextMenuItemGroup'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.web'; // eslint-disable-next-line lines-around-comment // @ts-ignore import { showLobbyChatButton } from '../../../lobby/functions'; diff --git a/react/features/participants-pane/components/web/ParticipantsPane.tsx b/react/features/participants-pane/components/web/ParticipantsPane.tsx index 4dba46764..2f15444ab 100644 --- a/react/features/participants-pane/components/web/ParticipantsPane.tsx +++ b/react/features/participants-pane/components/web/ParticipantsPane.tsx @@ -12,12 +12,12 @@ import { IconCloseLarge, IconDotsHorizontal } from '../../../base/icons/svg'; import { isLocalParticipantModerator } from '../../../base/participants/functions'; import Button from '../../../base/ui/components/web/Button'; import ClickableIcon from '../../../base/ui/components/web/ClickableIcon'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.web'; import { findAncestorByClass } from '../../../base/ui/functions.web'; import { isAddBreakoutRoomButtonVisible } from '../../../breakout-rooms/functions'; // @ts-ignore import { MuteEveryoneDialog } from '../../../video-menu/components/'; -import { close } from '../../actions'; +import { close } from '../../actions.web'; import { getParticipantsPaneOpen, isMoreActionsVisible, diff --git a/react/features/polls/components/native/PollAnswer.tsx b/react/features/polls/components/native/PollAnswer.tsx index 74dd1c9d6..4eaa6cce4 100644 --- a/react/features/polls/components/native/PollAnswer.tsx +++ b/react/features/polls/components/native/PollAnswer.tsx @@ -6,7 +6,7 @@ import { useSelector } from 'react-redux'; import { getLocalParticipant } from '../../../base/participants/functions'; import Button from '../../../base/ui/components/native/Button'; import Switch from '../../../base/ui/components/native/Switch'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; import { isSubmitAnswerDisabled } from '../../functions'; import AbstractPollAnswer, { AbstractProps } from '../AbstractPollAnswer'; diff --git a/react/features/polls/components/native/PollCreate.js b/react/features/polls/components/native/PollCreate.js index 1b2ffe6b2..bd889d810 100644 --- a/react/features/polls/components/native/PollCreate.js +++ b/react/features/polls/components/native/PollCreate.js @@ -4,7 +4,7 @@ import { Divider, TouchableRipple } from 'react-native-paper'; import Button from '../../../base/ui/components/native/Button'; import Input from '../../../base/ui/components/native/Input'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; import styles from '../../../settings/components/native/styles'; import { ANSWERS_LIMIT, CHAR_LIMIT } from '../../constants'; diff --git a/react/features/polls/components/native/PollsPane.js b/react/features/polls/components/native/PollsPane.js index 65a494474..34bf5d9d8 100644 --- a/react/features/polls/components/native/PollsPane.js +++ b/react/features/polls/components/native/PollsPane.js @@ -7,7 +7,7 @@ import { useSelector } from 'react-redux'; import JitsiScreen from '../../../base/modal/components/JitsiScreen'; import Button from '../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; import { getUnreadPollCount } from '../../functions'; import AbstractPollsPane from '../AbstractPollsPane'; import type { AbstractProps } from '../AbstractPollsPane'; diff --git a/react/features/polls/components/web/PollAnswer.tsx b/react/features/polls/components/web/PollAnswer.tsx index 653ee7a60..07bf6c3a4 100644 --- a/react/features/polls/components/web/PollAnswer.tsx +++ b/react/features/polls/components/web/PollAnswer.tsx @@ -5,7 +5,7 @@ import { makeStyles } from 'tss-react/mui'; import Button from '../../../base/ui/components/web/Button'; import Checkbox from '../../../base/ui/components/web/Checkbox'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.web'; import { isSubmitAnswerDisabled } from '../../functions'; import AbstractPollAnswer, { AbstractProps } from '../AbstractPollAnswer'; diff --git a/react/features/polls/components/web/PollCreate.tsx b/react/features/polls/components/web/PollCreate.tsx index bc1f31d85..b274424bc 100644 --- a/react/features/polls/components/web/PollCreate.tsx +++ b/react/features/polls/components/web/PollCreate.tsx @@ -8,7 +8,7 @@ import { IconBurger } from '../../../base/icons/svg'; // @ts-ignore import { Tooltip } from '../../../base/tooltip'; import Button from '../../../base/ui/components/web/Button'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.web'; import { ANSWERS_LIMIT, CHAR_LIMIT } from '../../constants'; // @ts-ignore import AbstractPollCreate from '../AbstractPollCreate'; diff --git a/react/features/reactions/components/native/RaiseHandButton.js b/react/features/reactions/components/native/RaiseHandButton.js index d2da4e494..023d2edaf 100644 --- a/react/features/reactions/components/native/RaiseHandButton.js +++ b/react/features/reactions/components/native/RaiseHandButton.js @@ -18,7 +18,7 @@ import { import { connect } from '../../../base/redux'; import { type AbstractButtonProps } from '../../../base/toolbox/components'; import Button from '../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; import styles from './styles'; diff --git a/react/features/recording/components/Recording/native/HighlightDialog.js b/react/features/recording/components/Recording/native/HighlightDialog.js index 1b450442e..ead59a29f 100644 --- a/react/features/recording/components/Recording/native/HighlightDialog.js +++ b/react/features/recording/components/Recording/native/HighlightDialog.js @@ -5,7 +5,7 @@ import { batch, useDispatch } from 'react-redux'; import { BottomSheet, hideSheet } from '../../../../base/dialog'; import Button from '../../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../base/ui/constants.native'; import { highlightMeetingMoment } from '../../../actions.any'; import styles from '../styles.native'; diff --git a/react/features/recording/components/Recording/native/StartRecordingDialogContent.tsx b/react/features/recording/components/Recording/native/StartRecordingDialogContent.tsx index e3b75465b..2cf670ada 100644 --- a/react/features/recording/components/Recording/native/StartRecordingDialogContent.tsx +++ b/react/features/recording/components/Recording/native/StartRecordingDialogContent.tsx @@ -9,7 +9,7 @@ import { LoadingIndicator } from '../../../../base/react'; import { connect } from '../../../../base/redux/functions'; import Button from '../../../../base/ui/components/native/Button'; import Switch from '../../../../base/ui/components/native/Switch'; -import { BUTTON_TYPES } from '../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../base/ui/constants.native'; import { RECORDING_TYPES } from '../../../constants'; // @ts-ignore import { getRecordingDurationEstimation } from '../../../functions'; diff --git a/react/features/recording/components/Recording/web/StartRecordingDialogContent.tsx b/react/features/recording/components/Recording/web/StartRecordingDialogContent.tsx index f485642f7..703e6bad6 100644 --- a/react/features/recording/components/Recording/web/StartRecordingDialogContent.tsx +++ b/react/features/recording/components/Recording/web/StartRecordingDialogContent.tsx @@ -12,7 +12,7 @@ import { import { connect } from '../../../../base/redux/functions'; import Button from '../../../../base/ui/components/web/Button'; import Switch from '../../../../base/ui/components/web/Switch'; -import { BUTTON_TYPES } from '../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../base/ui/constants.web'; import { RECORDING_TYPES } from '../../../constants'; // @ts-ignore import { getRecordingDurationEstimation } from '../../../functions'; diff --git a/react/features/security/components/security-dialog/native/SecurityDialog.js b/react/features/security/components/security-dialog/native/SecurityDialog.js index cafe9c3ec..9f937be43 100644 --- a/react/features/security/components/security-dialog/native/SecurityDialog.js +++ b/react/features/security/components/security-dialog/native/SecurityDialog.js @@ -13,7 +13,7 @@ import { connect } from '../../../../base/redux'; import Button from '../../../../base/ui/components/native/Button'; import Input from '../../../../base/ui/components/native/Input'; import Switch from '../../../../base/ui/components/native/Switch'; -import { BUTTON_TYPES } from '../../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../../base/ui/constants.native'; import { copyText } from '../../../../base/util/copyText.native'; import { isInBreakoutRoom } from '../../../../breakout-rooms/functions'; import { toggleLobbyMode } from '../../../../lobby/actions.any'; diff --git a/react/features/toolbox/components/native/HangupMenu.tsx b/react/features/toolbox/components/native/HangupMenu.tsx index 5de95605f..f0a941b61 100644 --- a/react/features/toolbox/components/native/HangupMenu.tsx +++ b/react/features/toolbox/components/native/HangupMenu.tsx @@ -18,7 +18,7 @@ import BottomSheet from '../../../base/dialog/components/native/BottomSheet'; import { PARTICIPANT_ROLE } from '../../../base/participants/constants'; import { getLocalParticipant } from '../../../base/participants/functions'; import Button from '../../../base/ui/components/native/Button'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; import { moveToRoom } from '../../../breakout-rooms/actions'; import { isInBreakoutRoom } from '../../../breakout-rooms/functions'; diff --git a/react/features/toolbox/components/native/HangupMenuButton.tsx b/react/features/toolbox/components/native/HangupMenuButton.tsx index 297c0ee8d..b1993f51b 100644 --- a/react/features/toolbox/components/native/HangupMenuButton.tsx +++ b/react/features/toolbox/components/native/HangupMenuButton.tsx @@ -4,7 +4,7 @@ import { useDispatch } from 'react-redux'; import { openSheet } from '../../../base/dialog/actions'; import { IconHangup } from '../../../base/icons/svg'; import IconButton from '../../../base/ui/components/native/IconButton'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.native'; import HangupMenu from './HangupMenu'; diff --git a/react/features/toolbox/components/web/EndConferenceButton.tsx b/react/features/toolbox/components/web/EndConferenceButton.tsx index bc2fc0fdd..8875f40ca 100644 --- a/react/features/toolbox/components/web/EndConferenceButton.tsx +++ b/react/features/toolbox/components/web/EndConferenceButton.tsx @@ -5,7 +5,7 @@ import { useDispatch, useSelector } from 'react-redux'; import { endConference } from '../../../base/conference/actions'; import { isLocalParticipantModerator } from '../../../base/participants/functions'; import Button from '../../../base/ui/components/web/Button'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.web'; import { isInBreakoutRoom } from '../../../breakout-rooms/functions'; /** diff --git a/react/features/toolbox/components/web/LeaveConferenceButton.tsx b/react/features/toolbox/components/web/LeaveConferenceButton.tsx index b0c239bf9..e54f11323 100644 --- a/react/features/toolbox/components/web/LeaveConferenceButton.tsx +++ b/react/features/toolbox/components/web/LeaveConferenceButton.tsx @@ -6,7 +6,7 @@ import { createToolbarEvent } from '../../../analytics/AnalyticsEvents'; import { sendAnalytics } from '../../../analytics/functions'; import { leaveConference } from '../../../base/conference/actions'; import Button from '../../../base/ui/components/web/Button'; -import { BUTTON_TYPES } from '../../../base/ui/constants'; +import { BUTTON_TYPES } from '../../../base/ui/constants.web'; /** * Button to leave the conference.