From 9b18e3669d5f07778fcc775d0d0736740c8683e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Sun, 19 Apr 2020 23:21:25 +0200 Subject: [PATCH] Fix crash after send message when activity is in background (#777) --- .../wulkanowy/ui/modules/message/send/SendMessageActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/github/wulkanowy/ui/modules/message/send/SendMessageActivity.kt b/app/src/main/java/io/github/wulkanowy/ui/modules/message/send/SendMessageActivity.kt index 7b15da71..232b05d7 100644 --- a/app/src/main/java/io/github/wulkanowy/ui/modules/message/send/SendMessageActivity.kt +++ b/app/src/main/java/io/github/wulkanowy/ui/modules/message/send/SendMessageActivity.kt @@ -147,7 +147,7 @@ class SendMessageActivity : BaseActivity(), SendMessageVie } override fun popView() { - onBackPressed() + finish() } private fun setUpExtendedHitArea() {