From 7534e33501aaa1d09d3f2d3e542a3de11cfd43fe Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Fri, 30 Oct 2015 11:24:22 +0200 Subject: [PATCH] code fixed --- ui/styling/font.ios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/styling/font.ios.ts b/ui/styling/font.ios.ts index f55c7d3ac..501a150c8 100644 --- a/ui/styling/font.ios.ts +++ b/ui/styling/font.ios.ts @@ -177,7 +177,7 @@ function registerCustomFonts() { } if (fileEntity instanceof fs.File && - ((fileEntity).extension === "ttf" || (fileEntity).extension === "otf")) { + ((fileEntity).extension === ".ttf" || (fileEntity).extension === ".otf")) { ios.registerFont(fileEntity.name); } return true;