diff --git a/src/web/components/app.tsx b/src/web/components/app.tsx index 4cfc824..2a1a2c0 100644 --- a/src/web/components/app.tsx +++ b/src/web/components/app.tsx @@ -6,15 +6,14 @@ import { Link } from '@fluentui/react/lib/Link'; import { Toggle } from '@fluentui/react/lib/Toggle'; import { PrimaryButton } from '@fluentui/react/lib/Button'; import { NeutralColors } from '@fluentui/theme'; - -import { RemoteAdbDevice } from 'remote-adb/client'; -import { UsbDeviceManager } from 'remote-adb/client'; -import { ServerConnection } from 'remote-adb/client'; - import { Device } from './device'; -import { Status } from './status'; + +import { RemoteAdbDevice } from '../../client/RemoteAdbDevice'; +import { UsbDeviceManager } from '../../client/UsbDeviceManager'; +import { ServerConnection } from '../../client/ServerConnection'; import { initializeIcons } from '@fluentui/font-icons-mdl2'; +import { Status } from './status'; initializeIcons(); const enum StoredItemKeys { diff --git a/src/web/components/device.tsx b/src/web/components/device.tsx index a701582..d6c3019 100644 --- a/src/web/components/device.tsx +++ b/src/web/components/device.tsx @@ -6,12 +6,12 @@ import { Icon } from '@fluentui/react/lib/Icon'; import { MessageBar, MessageBarType } from '@fluentui/react/lib/MessageBar'; import { DefaultButton, PrimaryButton } from '@fluentui/react/lib/Button'; import { NeutralColors } from '@fluentui/theme'; -import bytes from 'bytes'; -import logger from 'remote-adb/logger'; -import { RemoteAdbDevice } from 'remote-adb/client'; -import { ServerConnection } from 'remote-adb/client'; +import logger from '../../common/logger'; +import { RemoteAdbDevice } from '../../client/RemoteAdbDevice'; +import { ServerConnection } from '../../client/ServerConnection'; +import * as bytes from 'bytes'; function CommunicationSpeed(props: {device: RemoteAdbDevice}) { let device: RemoteAdbDevice = props.device; diff --git a/src/web/components/status.tsx b/src/web/components/status.tsx index c858063..33b211a 100644 --- a/src/web/components/status.tsx +++ b/src/web/components/status.tsx @@ -7,7 +7,7 @@ import { MessageBar, MessageBarType } from '@fluentui/react/lib/MessageBar'; import { DefaultButton, MessageBarButton, PrimaryButton } from '@fluentui/react/lib/Button'; import { Separator } from '@fluentui/react/lib/Separator'; -import { ServerStatus, ServerConnection } from 'remote-adb/client'; +import { ServerStatus, ServerConnection } from '../../client/ServerConnection'; function LoginDialog(props: {showDialog: boolean, setShowDialog: Dispatch>, onLoginSuccess: () => void, serverConnection: ServerConnection}) {