From 62902ca80b2a0883d810518de8b1838f29a682eb Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 24 Apr 2022 21:25:34 +0530 Subject: Reorganize crypto-common code and fix a couple minor bugs (#1868) --- app/src/main/java/dev/msfjarvis/aps/ui/pgp/PGPKeyImportActivity.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/src') diff --git a/app/src/main/java/dev/msfjarvis/aps/ui/pgp/PGPKeyImportActivity.kt b/app/src/main/java/dev/msfjarvis/aps/ui/pgp/PGPKeyImportActivity.kt index 02ea4fc3..e140ac91 100644 --- a/app/src/main/java/dev/msfjarvis/aps/ui/pgp/PGPKeyImportActivity.kt +++ b/app/src/main/java/dev/msfjarvis/aps/ui/pgp/PGPKeyImportActivity.kt @@ -48,6 +48,8 @@ class PGPKeyImportActivity : AppCompatActivity() { .setPositiveButton(android.R.string.ok) { _, _ -> finish() } .setOnCancelListener { finish() } .show() + } else { + finish() } }, { throwable -> -- cgit v1.2.3