diff --git a/__tests__/usecase/settings/UploadSettings.tsx b/__tests__/usecase/settings/UploadSettings.tsx index 982426d..f888fae 100644 --- a/__tests__/usecase/settings/UploadSettings.tsx +++ b/__tests__/usecase/settings/UploadSettings.tsx @@ -3,7 +3,7 @@ import UploadSettings from '../../../src/usecase/settings/UploadSettings'; import { configureStore } from '@reduxjs/toolkit'; import { reducer } from '../../../src/store'; -jest.mock('../../../src/usecase/buffers/ui/UndoTextInput', () => 'TextInput'); +jest.mock('../../../src/usecase/shared/UndoTextInput', () => 'TextInput'); describe('UploadSettings', () => { it('stores the configured settings', async () => { diff --git a/src/usecase/buffers/ui/BufferContainer.tsx b/src/usecase/buffers/ui/BufferContainer.tsx index 90887e1..692c004 100644 --- a/src/usecase/buffers/ui/BufferContainer.tsx +++ b/src/usecase/buffers/ui/BufferContainer.tsx @@ -23,7 +23,7 @@ import { renderWeechatFormat } from '../../../lib/weechat/color-formatter'; import { WeeChatProtocol } from '../../../lib/weechat/parser'; import { StoreState } from '../../../store'; import Buffer from './Buffer'; -import UndoTextInput from './UndoTextInput'; +import UndoTextInput from '../../shared/UndoTextInput'; import UploadButton from './UploadButton'; const connector = connect((state: StoreState, { bufferId }: OwnProps) => ({ diff --git a/src/usecase/login/LoginForm.tsx b/src/usecase/login/LoginForm.tsx index df2de5d..ab1298b 100644 --- a/src/usecase/login/LoginForm.tsx +++ b/src/usecase/login/LoginForm.tsx @@ -12,7 +12,7 @@ import { SafeAreaView } from 'react-native-safe-area-context'; import { ConnectedProps, connect } from 'react-redux'; import { ConnectionError } from '../../lib/weechat/connection'; import { StoreState } from '../../store'; -import UndoTextInput from '../buffers/ui/UndoTextInput'; +import UndoTextInput from '../shared/UndoTextInput'; import { styles } from '../settings/SettingsNavigator'; import { setConnectionInfoAction } from '../../store/actions'; diff --git a/src/usecase/settings/UploadSettings.tsx b/src/usecase/settings/UploadSettings.tsx index ece7d72..973f6f5 100644 --- a/src/usecase/settings/UploadSettings.tsx +++ b/src/usecase/settings/UploadSettings.tsx @@ -12,7 +12,7 @@ import { import { SafeAreaView } from 'react-native-safe-area-context'; import { ConnectedProps, connect } from 'react-redux'; import { StoreState } from '../../store'; -import UndoTextInput from '../buffers/ui/UndoTextInput'; +import UndoTextInput from '../shared/UndoTextInput'; import { styles } from './SettingsNavigator'; import { setMediaUploadOptionsAction } from '../../store/actions'; diff --git a/src/usecase/buffers/ui/UndoTextInput.tsx b/src/usecase/shared/UndoTextInput.tsx similarity index 100% rename from src/usecase/buffers/ui/UndoTextInput.tsx rename to src/usecase/shared/UndoTextInput.tsx