mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-25 12:45:12 +00:00
added warning
This commit is contained in:
parent
f9b62fad49
commit
dcff647f2d
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,9 @@ class MainActivity : Main() {
|
|||
val appBarConfiguration = AppBarConfiguration(navHost.graph)
|
||||
toolbar.setupWithNavController(navHost, appBarConfiguration)
|
||||
|
||||
|
||||
//WARNING: Reserved code!
|
||||
//DO NOT TOUCH!
|
||||
/*
|
||||
val navBar = findViewById<BottomNavigationView>(R.id.bottom_nav)
|
||||
navBar.setupWithNavController(navHost)
|
||||
|
@ -52,6 +55,8 @@ class MainActivity : Main() {
|
|||
*/
|
||||
|
||||
navHost.addOnDestinationChangedListener{_, currfrag: NavDestination, _ ->
|
||||
//WARNING: Reserved code 2
|
||||
//DO NOT TOUCH
|
||||
/*
|
||||
val navBarHide: Animation = AnimationUtils.loadAnimation(applicationContext, R.anim.navbar_exit)
|
||||
val navBarShow: Animation = AnimationUtils.loadAnimation(applicationContext, R.anim.navbar_enter)
|
||||
|
|
Loading…
Reference in a new issue