MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / registerCustomFonts

Function registerCustomFonts

packages/core/ui/styling/font.ios.ts:190–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188}
189
190function registerCustomFonts() {
191 const appDir = knownFolders.currentApp().path;
192 const fontsDir = path.join(appDir, FONTS_BASE_PATH);
193 if (Folder.exists(fontsDir)) {
194 registerFontsInFolder(fontsDir);
195 }
196}
197registerCustomFonts();

Callers 1

font.ios.tsFile · 0.85

Calls 3

registerFontsInFolderFunction · 0.85
joinMethod · 0.80
existsMethod · 0.45

Tested by

no test coverage detected