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',