From 8895a8dc5e12b3881fbbed4c34851bc550b4d32b Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 12 Sep 2019 22:02:02 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/about/AboutActivity.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/about/AboutActivity.kt b/app/src/main/java/io/legado/app/ui/about/AboutActivity.kt index 4648bb02d..f5636c134 100644 --- a/app/src/main/java/io/legado/app/ui/about/AboutActivity.kt +++ b/app/src/main/java/io/legado/app/ui/about/AboutActivity.kt @@ -27,9 +27,7 @@ class AboutActivity : BaseActivity(R.layout.activity_about) { override fun onCompatOptionsItemSelected(item: MenuItem): Boolean { when (item.itemId) { - R.id.menu_scoring -> { - openIntent("market://details?id=$packageName") - } + R.id.menu_scoring -> openIntent("market://details?id=$packageName") } return super.onCompatOptionsItemSelected(item) }