FIX - use five app rows per home page

This commit is contained in:
Eichenholz
2026-08-06 20:38:45 +02:00
parent 9465ed1579
commit db655551dc
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -11,11 +11,11 @@ describe('page clamping', () => {
expect(
paginateItems(
Array.from({ length: 21 }, (_, index) => index),
16,
20,
),
).toEqual([
Array.from({ length: 16 }, (_, index) => index),
[16, 17, 18, 19, 20],
Array.from({ length: 20 }, (_, index) => index),
[20],
])
})
})
+1 -1
View File
@@ -10,7 +10,7 @@ import { usePhoneStore } from '@/stores/phone'
import type { PhoneAppCategory, PhoneAppDefinition } from '@/types/apps'
import { paginateItems } from '@/utils/pages'
const APPS_PER_HOME_PAGE = 16
const APPS_PER_HOME_PAGE = 20
const APP_LIBRARY_CATEGORIES: PhoneAppCategory[] = [
'games',
'productivity',
+1 -1
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sky Phone</title>
<script type="module" crossorigin src="./assets/sky-index-C4BpdHqp.js"></script>
<script type="module" crossorigin src="./assets/sky-index-BAd3FgHf.js"></script>
<link rel="stylesheet" crossorigin href="./assets/sky-index-pZFmE4TE.css">
</head>
<body>