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