Moved glitch containers and commented unused files
This commit is contained in:
@@ -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']),
|
||||
@@ -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' },
|
||||
@@ -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();
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 '.';
|
||||
|
||||
/* * * * */
|
||||
|
||||
@@ -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'])}
|
||||
|
||||
@@ -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,
|
||||
Reference in New Issue
Block a user