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:
parent
0778d78f8d
commit
50ff269fcf
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user