Change default number of rooms visible to 10

Fixes https://github.com/vector-im/riot-web/issues/14266
pull/21833/head
Travis Ralston 2020-06-30 18:51:59 -06:00
parent 2eaaf6a7bd
commit f935303eeb
1 changed files with 2 additions and 4 deletions

View File

@ -85,10 +85,8 @@ export class ListLayout {
}
public get defaultVisibleTiles(): number {
// TODO: Remove dogfood flag: https://github.com/vector-im/riot-web/issues/14231
// TODO: Resolve dogfooding: https://github.com/vector-im/riot-web/issues/14137
const val = Number(localStorage.getItem("mx_dogfood_rl_defTiles") || 4);
return val + RESIZER_BOX_FACTOR;
// 10 is what "feels right", and mostly subject to design's opinion.
return 10 + RESIZER_BOX_FACTOR;
}
public calculateTilesToPixelsMin(maxTiles: number, n: number, possiblePadding: number): number {