1
0

fix: back button

This commit is contained in:
オスカー、 2024-04-08 01:35:27 +09:00
parent 3e9cce9a2e
commit 09de2e80f3

View File

@ -11,7 +11,6 @@ import { connect } from 'react-redux';
import { getStatusList } from 'mastodon/selectors'; import { getStatusList } from 'mastodon/selectors';
import { fetchDirectStatuses } from '../../actions/direct_statuses'; import { fetchDirectStatuses } from '../../actions/direct_statuses';
import { ColumnBackButton } from '../../components/column_back_button';
import StatusList from '../../components/status_list'; import StatusList from '../../components/status_list';
import Column from '../ui/components/column'; import Column from '../ui/components/column';
@ -50,8 +49,7 @@ class DirectMessages extends ImmutablePureComponent {
const { intl, statusIds, hasMore, multiColumn } = this.props; const { intl, statusIds, hasMore, multiColumn } = this.props;
return ( return (
<Column icon='thumb-tack' heading={intl.formatMessage(messages.heading)} ref={this.setRef}> <Column bindToDocument={!multiColumn} icon='thumb-tack' heading={intl.formatMessage(messages.heading)} ref={this.setRef} alwaysShowBackButton>
<ColumnBackButton multiColumn={multiColumn} />
<StatusList <StatusList
statusIds={statusIds} statusIds={statusIds}
scrollKey='direct_messages' scrollKey='direct_messages'