mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-26 05:05:15 +00:00
fixed small bug
This commit is contained in:
parent
246af47421
commit
161f4f6745
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue