diff --git a/app/src/main/java/io/heckel/ntfy/ui/DetailActivity.kt b/app/src/main/java/io/heckel/ntfy/ui/DetailActivity.kt index 5530b27..5011e7b 100644 --- a/app/src/main/java/io/heckel/ntfy/ui/DetailActivity.kt +++ b/app/src/main/java/io/heckel/ntfy/ui/DetailActivity.kt @@ -87,6 +87,10 @@ class DetailActivity : AppCompatActivity(), ActionMode.Callback, NotificationFra } } + override fun onBackPressed() { + finishAffinity() + } + private fun maybeSubscribeAndLoadView(url: Uri) { if (url.pathSegments.size != 1) { Log.w(TAG, "Invalid link $url. Aborting.")