fixed bottomnav color

This commit is contained in:
Bnyro 2022-05-23 23:51:07 +02:00
parent 23daaccac5
commit baa2df95c9

View File

@ -88,7 +88,6 @@ class MainActivity : AppCompatActivity() {
"library" -> navController.navigate(R.id.library) "library" -> navController.navigate(R.id.library)
} }
bottomNavigationView.setBackgroundColor(0) // otherwise Navbar Theme doesn't change
bottomNavigationView.setOnItemSelectedListener { bottomNavigationView.setOnItemSelectedListener {
when (it.itemId) { when (it.itemId) {
R.id.home2 -> { R.id.home2 -> {