mirror of https://github.com/NekoX-Dev/NekoX.git
monospace
This commit is contained in:
parent
653f34a853
commit
652fc22cd9
|
@ -914,6 +914,9 @@ public class AndroidUtilities {
|
|||
if (assetPath.contains("italic")) {
|
||||
return Typeface.create((Typeface) null, Typeface.ITALIC);
|
||||
}
|
||||
if (assetPath.contains("mono")) {
|
||||
return Typeface.MONOSPACE;
|
||||
}
|
||||
return Typeface.create((Typeface) null, Typeface.NORMAL);
|
||||
}
|
||||
if (!typefaceCache.containsKey(assetPath)) {
|
||||
|
|
Loading…
Reference in New Issue