1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2025-01-19 04:00:31 +01:00

Fix old stuffs ( #223 )

This commit is contained in:
世界 2020-11-03 13:52:33 +00:00
parent 0778d78f8d
commit 50ff269fcf
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
2 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ public class Emoji {
}
public boolean isLoaded() {
if (!NekoConfig.useSystemEmoji && EmojiProvider.isFont) {
if (!EmojiProvider.containsEmoji || NekoConfig.useSystemEmoji) {
return true;
}
return emojiBmp[info.page][info.page2] != null;

View File

@ -736,7 +736,7 @@ public class FileLoadOperation {
if (parentObject instanceof TLRPC.TL_theme) {
TLRPC.TL_theme theme = (TLRPC.TL_theme) parentObject;
cacheFileFinal = new File(ApplicationLoader.getFilesDirFixed(), "remote" + theme.id + ".attheme");
} else if (fileName != null) {
} else if (fileName != null && !encryptFile) {
cacheFileFinal = new File(storePath, fileName);
} else {
cacheFileFinal = new File(storePath, fileNameFinal);