remove TextUtils.isEmpty(fileName)
This commit is contained in:
		| @@ -268,9 +268,6 @@ public class TextNode extends ViewNode<TextView> { | ||||
|                                     String filePath; | ||||
|                                     filePath = getContext().getCacheDir().getPath() + File.separator + "DoricTextFonts"; | ||||
|                                     String fileName = URLEncoder.encode(type + "_" + identifier, "UTF-8"); | ||||
|                                     if (TextUtils.isEmpty(fileName)) { | ||||
|                                         fileName = (identifier == null) ? "tempFont.ttf" : identifier; | ||||
|                                     } | ||||
|                                     File file = createFile(fontData, filePath, fileName); | ||||
|                                     if (file == null) { | ||||
|                                         DoricLog.e("Error Font file load resource %s", resource.toString()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user