Bump SDK to 32 + update gradle
This commit is contained in:
@@ -178,9 +178,9 @@ class MainActivity : BaseActivity() {
|
||||
val graph = navController.graph
|
||||
|
||||
when (defaultTab) {
|
||||
0 -> graph.startDestination = R.id.navigation_apps
|
||||
1 -> graph.startDestination = R.id.navigation_games
|
||||
2 -> graph.startDestination = R.id.navigation_updates
|
||||
0 -> graph.setStartDestination(R.id.navigation_apps)
|
||||
1 -> graph.setStartDestination(R.id.navigation_games)
|
||||
2 -> graph.setStartDestination(R.id.navigation_updates)
|
||||
}
|
||||
|
||||
navController.graph = graph
|
||||
|
||||
@@ -118,7 +118,7 @@ class SettingsActivity : BaseActivity(),
|
||||
|
||||
val fragment = fragmentFactory.instantiate(
|
||||
classLoader,
|
||||
preference.fragment
|
||||
preference.fragment.toString()
|
||||
).apply {
|
||||
arguments = args
|
||||
setTargetFragment(caller, 0)
|
||||
|
||||
Reference in New Issue
Block a user