summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-04-24 21:25:34 +0530
committerGitHub <noreply@github.com>2022-04-24 15:55:34 +0000
commit62902ca80b2a0883d810518de8b1838f29a682eb (patch)
treeaf1bd10f0bc8d6fc9b18659ed4279f1d237b15e2 /app/src/main/java
parent599abd37e84486f254dddcbb894e77fbcb347d41 (diff)
Reorganize crypto-common code and fix a couple minor bugs (#1868)
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/dev/msfjarvis/aps/ui/pgp/PGPKeyImportActivity.kt2
1 files changed, 2 insertions, 0 deletions
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 ->