0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-25 12:45:12 +00:00

added warning

This commit is contained in:
X1nto 2020-04-28 11:42:10 +04:00
parent f9b62fad49
commit dcff647f2d

View file

@ -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)