Message component refactored

This commit is contained in:
Diego Mello 2017-11-14 13:44:23 -02:00
parent a740f79f22
commit b088973382
2 changed files with 5 additions and 5 deletions

View File

@ -5,9 +5,9 @@ import { emojify } from 'react-emojione';
import Markdown from 'react-native-easy-markdown';
import ActionSheet from 'react-native-actionsheet';
import Card from './message/Card';
import Avatar from './Avatar';
import User from './message/User';
import Card from './Card';
import User from './User';
import Avatar from '../Avatar';
const title = 'Message actions';
const options = ['Cancel', 'Reply', 'Edit', 'Permalink', 'Copy', 'Quote', 'Star Message', 'Delete'];

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Text, View, StyleSheet, Button, InteractionManager, SafeAreaView } from 'react-native';
import { Text, View, StyleSheet, Button, SafeAreaView } from 'react-native';
import { ListView } from 'realm/react-native';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
@ -9,7 +9,7 @@ import * as actions from '../actions';
import { messagesRequest } from '../actions/messages';
import realm from '../lib/realm';
import RocketChat from '../lib/rocketchat';
import Message from '../containers/Message';
import Message from '../containers/message';
import MessageBox from '../containers/MessageBox';
import KeyboardView from '../presentation/KeyboardView';