schildichat-desktop/patches/matrix-react-sdk/0008-Increase-default-visible-tiles.patch
2024-08-18 11:51:12 +02:00

26 lines
795 B
Diff

From 9c91bdbdf95bb8969bf31d9b38b15ad4cfe5b736 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de>
Date: Sun, 30 Aug 2020 15:33:01 +0200
Subject: Increase default visible tiles
---
src/stores/room-list/ListLayout.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/stores/room-list/ListLayout.ts b/src/stores/room-list/ListLayout.ts
index afc93f3b01..6020b2148d 100644
--- a/src/stores/room-list/ListLayout.ts
+++ b/src/stores/room-list/ListLayout.ts
@@ -82,7 +82,7 @@ export class ListLayout {
public get defaultVisibleTiles(): number {
// This number is what "feels right", and mostly subject to design's opinion.
- return 8;
+ return 50;
}
public tilesWithPadding(n: number, paddingPx: number): number {
--
2.46.0