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)