From 32d5db15591e53972d7872498a41c218c7e95855 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 4 Jun 2019 20:48:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/ui/main/MainActivity.kt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt index c63b53d05..884ed8c30 100644 --- a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt +++ b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt @@ -46,15 +46,6 @@ class MainActivity : BaseActivity(), BottomNavigationView.OnNavig return false } - override fun onCompatCreateOptionsMenu(menu: Menu): Boolean { - menuInflater.inflate(R.menu.main, menu) - return super.onCompatCreateOptionsMenu(menu) - } - - override fun onCompatOptionsItemSelected(item: MenuItem): Boolean { - return super.onCompatOptionsItemSelected(item) - } - private fun importYueDu() { PermissionsCompat.Builder(this) .addPermissions(*Permissions.Group.STORAGE)