mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
.
This commit is contained in:
parent
525b636bb5
commit
dbea7652ee
@ -101,7 +101,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
navController = findNavController(R.id.fragment)
|
navController = findNavController(R.id.fragment)
|
||||||
binding.bottomNav.setupWithNavController(navController)
|
binding.bottomNav.setupWithNavController(navController)
|
||||||
|
|
||||||
// gets the surface color for a elevation of 20dp
|
// gets the surface color of the bottom navigation view
|
||||||
val color = SurfaceColors.getColorForElevation(this, 10F)
|
val color = SurfaceColors.getColorForElevation(this, 10F)
|
||||||
|
|
||||||
// sets the navigation bar color to the previously calculated color
|
// sets the navigation bar color to the previously calculated color
|
||||||
|
Loading…
Reference in New Issue
Block a user