commit 2750b4cebca6b9c113ea8dfda1db39f3358aa6a4
parent d736e6fd06339a088c4898f9141ffbfaf94a0348
Author: Matthew Horan <matt@matthoran.com>
Date: Fri, 17 Apr 2020 08:33:36 -0400
Remove unused imports
Diffstat:
5 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/src/usecase/App.tsx b/src/usecase/App.tsx
@@ -15,12 +15,9 @@ import * as _ from "lodash";
import DrawerLayout from 'react-native-drawer-layout-polyfill';
-import { changeCurrentBuffer } from "./buffers/actions/BufferActions";
-
import BufferContainer from "./buffers/ui/BufferContainer";
import BufferList from "./buffers/ui/BufferList";
import { StoreState } from "../store";
-import { renderWeechatFormat } from "../lib/weechat/color-formatter";
import { registerForPushNotificationsAsync } from "../lib/helpers/push-notifications"
interface Props {
diff --git a/src/usecase/buffers/actions/BufferActions.js b/src/usecase/buffers/actions/BufferActions.js
@@ -1,6 +0,0 @@
-export const CHANGE_CURRENT_BUFFER = "CHANGE_CURRENT_BUFFER";
-
-export const changeCurrentBuffer = bufferName => ({
- type: CHANGE_CURRENT_BUFFER,
- bufferName
-});
diff --git a/src/usecase/buffers/ui/Buffer.tsx b/src/usecase/buffers/ui/Buffer.tsx
@@ -1,10 +1,7 @@
import * as React from "react";
import {
StyleSheet,
- Animated,
- Keyboard,
FlatList,
- View,
ListRenderItem
} from "react-native";
import * as _ from "lodash";
diff --git a/src/usecase/buffers/ui/BufferContainer.tsx b/src/usecase/buffers/ui/BufferContainer.tsx
@@ -1,16 +1,13 @@
import * as React from "react";
import {
StyleSheet,
- AlertIOS,
Linking,
ActionSheetIOS,
KeyboardAvoidingView,
- Keyboard,
TextInput,
Image,
View,
Text,
- EmitterSubscription,
TouchableOpacity,
LayoutAnimation
} from "react-native";
@@ -19,9 +16,6 @@ import { connect } from "react-redux";
import * as _ from "lodash";
import ParsedText from "react-native-parsed-text";
-import { changeCurrentBuffer } from "../actions/BufferActions";
-
-import BufferLine from "./BufferLine";
import Buffer from "./Buffer";
import { getParseArgs } from "../../../lib/helpers/parse-text-args";
import { formatUrl } from "../../../lib/helpers/url-formatter";
diff --git a/src/usecase/buffers/ui/themes/Default.tsx b/src/usecase/buffers/ui/themes/Default.tsx
@@ -4,7 +4,6 @@ import {
Text,
TouchableHighlight,
View,
- TextStyle
} from "react-native";
import ParsedText from "react-native-parsed-text";