1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-06-30 10:14:04 +00:00

Fix crash

This commit is contained in:
世界 2020-12-17 00:36:50 +08:00
parent 9738e1ef3e
commit 5f2ce1b36d
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
4 changed files with 11 additions and 7 deletions

View File

@ -3453,11 +3453,15 @@ public class ChatActivityEnterView extends FrameLayout implements NotificationCe
((LaunchActivity) parentActivity).callbacks.put(115, result -> {
long keyId = result == null ? 0L : result.getLongExtra(OpenPgpApi.EXTRA_SIGN_KEY_ID, 0L);
if (result != null) {
if (save && keyId != 0L) NekoConfig.setOpenPGPKeyId(keyId);
long keyId = result.getLongExtra(OpenPgpApi.EXTRA_SIGN_KEY_ID, 0L);
signComment(result, save);
if (save) NekoConfig.setOpenPGPKeyId(keyId);
signComment(result, save);
}
});

View File

@ -8,9 +8,9 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.20"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.21"
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'
classpath 'gradle.plugin.org.mozilla.rust-android-gradle:plugin:0.8.3'
classpath 'com.github.triplet.gradle:play-publisher:3.0.0'
}

View File

@ -13,5 +13,5 @@ android {
lintOptions {
abortOnError false
}
buildToolsVersion '30.0.2'
buildToolsVersion '30.0.3'
}

View File

@ -14,7 +14,7 @@ android {
minSdkVersion(21)
targetSdkVersion(30)
}
buildToolsVersion = "30.0.2"
buildToolsVersion = "30.0.3"
}