1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-04 07:10:17 +01:00

fix instantview title font

This commit is contained in:
NekoInverter 2020-01-18 13:23:19 +08:00
parent da506980ac
commit 24453b0c83

View File

@ -1098,7 +1098,10 @@ public class AndroidUtilities {
if (assetPath.contains("mono")) { if (assetPath.contains("mono")) {
return Typeface.MONOSPACE; return Typeface.MONOSPACE;
} }
return Typeface.create((Typeface) null, Typeface.NORMAL); if (assetPath.contains("mw_bold")) {
return Typeface.create("serif", Typeface.BOLD);
}
//return Typeface.create((Typeface) null, Typeface.NORMAL);
} }
if (!typefaceCache.containsKey(assetPath)) { if (!typefaceCache.containsKey(assetPath)) {
try { try {