diff --git a/nativephp.json b/nativephp.json index f8564fb..d67359b 100644 --- a/nativephp.json +++ b/nativephp.json @@ -452,6 +452,7 @@ } }, "ios": { + "min_version": 18.2, "init_function": "registerNativeUIChrome", "dependencies": { "swift_packages": [], diff --git a/tests/ThemeFontsTest.php b/tests/ThemeFontsTest.php index 49f6106..212af87 100644 --- a/tests/ThemeFontsTest.php +++ b/tests/ThemeFontsTest.php @@ -21,16 +21,16 @@ }); it('carries the alias map in the theme payload', function () { - Theme::fonts(['accent' => 'DynaPuff-Regular']); + Theme::fonts(['accent' => 'accent']); Theme::load(['font-family' => 'System']); - expect(Theme::all()['fonts'])->toBe(['accent' => 'DynaPuff-Regular']); + expect(Theme::all()['fonts'])->toBe(['accent' => 'accent']); }); it('promotes the default alias to the font-family token', function () { Theme::fonts([ 'default' => 'Inter-Regular', - 'accent' => 'DynaPuff-Regular', + 'accent' => 'accent', ]); Theme::load(['font-family' => 'System']); @@ -38,7 +38,7 @@ }); it('leaves font-family alone when no default alias exists', function () { - Theme::fonts(['accent' => 'DynaPuff-Regular']); + Theme::fonts(['accent' => 'accent']); Theme::load(['font-family' => 'Lobster-Regular']); expect(Theme::all()['font-family'])->toBe('Lobster-Regular');