Bump SDK to 32 + update gradle

This commit is contained in:
Rahul Kumar Patel
2022-02-13 00:41:35 +05:30
parent 9c43b2de69
commit 25c0c8b32d
5 changed files with 15 additions and 14 deletions

View File

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

View File

@@ -118,7 +118,7 @@ class SettingsActivity : BaseActivity(),
val fragment = fragmentFactory.instantiate(
classLoader,
preference.fragment
preference.fragment.toString()
).apply {
arguments = args
setTargetFragment(caller, 0)