Change default number of rooms visible to 10
Fixes https://github.com/vector-im/riot-web/issues/14266
This commit is contained in:
parent
2eaaf6a7bd
commit
f935303eeb
1 changed files with 2 additions and 4 deletions
|
@ -85,10 +85,8 @@ export class ListLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
public get defaultVisibleTiles(): number {
|
public get defaultVisibleTiles(): number {
|
||||||
// TODO: Remove dogfood flag: https://github.com/vector-im/riot-web/issues/14231
|
// 10 is what "feels right", and mostly subject to design's opinion.
|
||||||
// TODO: Resolve dogfooding: https://github.com/vector-im/riot-web/issues/14137
|
return 10 + RESIZER_BOX_FACTOR;
|
||||||
const val = Number(localStorage.getItem("mx_dogfood_rl_defTiles") || 4);
|
|
||||||
return val + RESIZER_BOX_FACTOR;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public calculateTilesToPixelsMin(maxTiles: number, n: number, possiblePadding: number): number {
|
public calculateTilesToPixelsMin(maxTiles: number, n: number, possiblePadding: number): number {
|
||||||
|
|
Loading…
Reference in a new issue