1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-11-30 05:20:13 +01:00

Bug fixes

This commit is contained in:
世界 2021-03-15 18:47:03 +08:00
parent 576ccf6c19
commit 9ac96c40a5
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
4 changed files with 10 additions and 7 deletions

View File

@ -3,8 +3,8 @@ import cn.hutool.core.util.RuntimeUtil
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
def verName = "7.5.0-rc10"
def verCode = 200 + 3 * 9
def verName = "7.5.0-rc11"
def verCode = 200 + 3 * 10
if (System.getenv("DEBUG_BUILD") == "true") {
verName += "-" + RuntimeUtil.execForStr("git log --pretty=format:'%h' -n 1)")
@ -391,9 +391,9 @@ dependencies {
implementation 'dnsjava:dnsjava:3.3.1'
implementation 'org.dizitart:nitrite:3.4.3'
implementation 'cn.hutool:hutool-core:5.5.9'
implementation 'cn.hutool:hutool-crypto:5.5.9'
implementation 'cn.hutool:hutool-http:5.5.9'
implementation 'cn.hutool:hutool-core:5.6.0'
implementation 'cn.hutool:hutool-crypto:5.6.0'
implementation 'cn.hutool:hutool-http:5.6.0'
implementation 'com.jakewharton:process-phoenix:2.0.0'
compileOnly 'org.yaml:snakeyaml:1.28'

View File

@ -1410,6 +1410,9 @@ public class LocaleController {
}
public static String formatDateChat(long date, boolean checkYear) {
if (getInstance().chatDate == null) {
getInstance().recreateFormatters();
}
try {
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(System.currentTimeMillis());

View File

@ -411,7 +411,7 @@ public class NotificationCenter {
}
public void postNotificationName(int id, Object... args) {
boolean allowDuringAnimation = id == startAllHeavyOperations || id == stopAllHeavyOperations || id == didReplacedPhotoInMemCache;
boolean allowDuringAnimation = id == startAllHeavyOperations || id == stopAllHeavyOperations || id == didReplacedPhotoInMemCache || id == closeChats;
ArrayList<Integer> expiredIndices = null;
if (!allowDuringAnimation && !allowedNotifications.isEmpty()) {
int size = allowedNotifications.size();

View File

@ -13,7 +13,7 @@ buildscript {
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.1'
classpath 'gradle.plugin.org.mozilla.rust-android-gradle:plugin:0.8.3'
classpath 'com.github.triplet.gradle:play-publisher:3.0.0'
classpath 'cn.hutool:hutool-core:5.5.9'
classpath 'cn.hutool:hutool-core:5.6.0'
}
}