diff --git a/frontend/src/utils/pages.test.ts b/frontend/src/utils/pages.test.ts index c52b5ed..341c115 100644 --- a/frontend/src/utils/pages.test.ts +++ b/frontend/src/utils/pages.test.ts @@ -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], ]) }) }) diff --git a/frontend/src/views/SpringboardView.vue b/frontend/src/views/SpringboardView.vue index 8f8e0d6..69d592e 100644 --- a/frontend/src/views/SpringboardView.vue +++ b/frontend/src/views/SpringboardView.vue @@ -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', diff --git a/sky_phone/source/html/index.html b/sky_phone/source/html/index.html index bb96cc3..1d2984f 100644 --- a/sky_phone/source/html/index.html +++ b/sky_phone/source/html/index.html @@ -4,7 +4,7 @@