mirror of
https://github.com/MGislv/NekoX.git
synced 2024-06-30 10:14:04 +00:00
Fix crash
This commit is contained in:
parent
9738e1ef3e
commit
5f2ce1b36d
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
|
|
|
@ -13,5 +13,5 @@ android {
|
|||
lintOptions {
|
||||
abortOnError false
|
||||
}
|
||||
buildToolsVersion '30.0.2'
|
||||
buildToolsVersion '30.0.3'
|
||||
}
|
|
@ -14,7 +14,7 @@ android {
|
|||
minSdkVersion(21)
|
||||
targetSdkVersion(30)
|
||||
}
|
||||
buildToolsVersion = "30.0.2"
|
||||
buildToolsVersion = "30.0.3"
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user