pull/32/head
gedoor 6 years ago
parent b4d56b0c92
commit 32d5db1559
  1. 9
      app/src/main/java/io/legado/app/ui/main/MainActivity.kt

@ -46,15 +46,6 @@ class MainActivity : BaseActivity<MainViewModel>(), BottomNavigationView.OnNavig
return false 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() { private fun importYueDu() {
PermissionsCompat.Builder(this) PermissionsCompat.Builder(this)
.addPermissions(*Permissions.Group.STORAGE) .addPermissions(*Permissions.Group.STORAGE)

Loading…
Cancel
Save