Moved glitch containers and commented unused files

This commit is contained in:
kibigo!
2017-07-13 02:40:16 -07:00
parent 2e0645c26c
commit 5770d461b2
24 changed files with 45 additions and 18 deletions

View File

@@ -2,10 +2,10 @@
import { connect } from 'react-redux';
// Mastodon imports //
import { toggleComposeAdvancedOption } from '../../../mastodon/actions/compose';
import { toggleComposeAdvancedOption } from '../../../../mastodon/actions/compose';
// Our imports //
import ComposeAdvancedOptions from '../../components/compose/advanced_options';
import ComposeAdvancedOptions from '.';
const mapStateToProps = state => ({
values: state.getIn(['compose', 'advanced_options']),

View File

@@ -6,7 +6,7 @@ import Toggle from 'react-toggle';
import { injectIntl, defineMessages } from 'react-intl';
// Mastodon imports //
import IconButton from '../../../mastodon/components/icon_button';
import IconButton from '../../../../mastodon/components/icon_button';
const messages = defineMessages({
local_only_short: { id: 'advanced-options.local-only.short', defaultMessage: 'Local-only' },

View File

@@ -5,7 +5,7 @@ import { connect } from 'react-redux';
import { makeGetNotification } from '../../../mastodon/selectors';
// Our imports //
import Notification from '../../components/notification';
import Notification from '.';
const makeMapStateToProps = () => {
const getNotification = makeGetNotification();

View File

@@ -11,7 +11,7 @@ import Permalink from '../../../mastodon/components/permalink';
import emojify from '../../../mastodon/emoji';
// Our imports //
import StatusContainer from '../../containers/status';
import StatusContainer from '../status';
export default class Notification extends ImmutablePureComponent {

View File

@@ -52,7 +52,7 @@ import { initReport } from '../../../mastodon/actions/reports';
import { openModal } from '../../../mastodon/actions/modal';
// Our imports //
import Status from '../../components/status';
import Status from '.';
/* * * * */

View File

@@ -46,7 +46,7 @@ import StatusHeader from './header';
import StatusContent from './content';
import StatusActionBar from './action_bar';
import StatusGallery from './gallery';
import StatusVideoPlayer from './video_player';
import StatusPlayer from './player';
/* * * * */
@@ -619,7 +619,7 @@ backgrounds for collapsed statuses are enabled.
attachments.getIn([0, 'type']) === 'video'
) {
media = ( // Media type is 'video'
<StatusVideoPlayer
<StatusPlayer
media={attachments.get(0)}
sensitive={status.get('sensitive')}
letterbox={settings.getIn(['media', 'letterbox'])}

View File

@@ -15,7 +15,7 @@ const messages = defineMessages({
});
@injectIntl
export default class StatusVideoPlayer extends React.PureComponent {
export default class StatusPlayer extends React.PureComponent {
static propTypes = {
media: ImmutablePropTypes.map.isRequired,