Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 850b4d6

Browse files
committed
app: make decrypt method not return
1 parent 66f0bb1 commit 850b4d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/java/dev/msfjarvis/aps/ui/crypto/GopenpgpDecryptActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class GopenpgpDecryptActivity : BasePgpActivity() {
122122
)
123123
}
124124

125-
private fun decrypt() =
125+
private fun decrypt() {
126126
lifecycleScope.launch {
127127
// TODO(msfjarvis): native methods are fallible, add error handling once out of testing
128128
val message = withContext(Dispatchers.IO) { File(fullPath).readBytes() }
@@ -167,6 +167,7 @@ class GopenpgpDecryptActivity : BasePgpActivity() {
167167
binding.recyclerView.adapter = adapter
168168
adapter.updateItems(items)
169169
}
170+
}
170171

171172
companion object {
172173
// TODO(msfjarvis): source these from storage and user input

0 commit comments

Comments
 (0)