0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-26 05:05:15 +00:00

fixed small bug

This commit is contained in:
X1nto 2020-04-14 01:09:28 +04:00
parent 246af47421
commit 161f4f6745

View file

@ -48,7 +48,7 @@ class MainActivity : ThemeActivity() {
.beginTransaction() .beginTransaction()
.hide(settingsFragment) .hide(settingsFragment)
.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN) .setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN)
.add(homeFragment) .show(homeFragment)
.commit() .commit()
supportActionBar?.title = getString(R.string.title_home) supportActionBar?.title = getString(R.string.title_home)
@ -59,7 +59,7 @@ class MainActivity : ThemeActivity() {
.beginTransaction() .beginTransaction()
.hide(homeFragment) .hide(homeFragment)
.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN) .setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN)
.add(settingsFragment) .show(settingsFragment)
.commit() .commit()
supportActionBar?.title = getString(R.string.title_settings) supportActionBar?.title = getString(R.string.title_settings)