1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-10-29 14:29:29 +03:00

Consolidate TileShape into TimelineRenderingType (#7843)

This commit is contained in:
Michael Telatynski
2022-02-18 15:56:05 +00:00
committed by GitHub
parent ca89d3b96e
commit 5f5bb4a4fe
21 changed files with 174 additions and 154 deletions

View File

@@ -33,7 +33,6 @@ import { replaceableComponent } from "../../utils/replaceableComponent";
import ResizeNotifier from '../../utils/ResizeNotifier';
import TimelinePanel from "./TimelinePanel";
import Spinner from "../views/elements/Spinner";
import { TileShape } from '../views/rooms/EventTile';
import { Layout } from "../../settings/enums/Layout";
import RoomContext, { TimelineRenderingType } from '../../contexts/RoomContext';
@@ -270,7 +269,6 @@ class FilePanel extends React.Component<IProps, IState> {
timelineSet={this.state.timelineSet}
showUrlPreview={false}
onPaginationRequest={this.onPaginationRequest}
tileShape={TileShape.FileGrid}
resizeNotifier={this.props.resizeNotifier}
empty={emptyState}
layout={Layout.Group}