File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
app/src/main/java/com/example/jetpackpracticekit/ui/main Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
88import androidx.lifecycle.lifecycleScope
99import com.example.jetpackpracticekit.ui.navgraphs.AuthNavGraph
1010import com.example.jetpackpracticekit.ui.navgraphs.UiSamplesNavGraph
11+ import com.example.jetpackpracticekit.ui.theme.JetPackPracticeKitTheme
1112import com.example.jetpackpracticekit.utils.PrefManager
1213import kotlinx.coroutines.delay
1314import kotlinx.coroutines.launch
@@ -26,11 +27,15 @@ class MainActivity : ComponentActivity() {
2627 val isLoggedIn = preferencesManager.getBooleanValue(" isLoggedIn" , false )
2728 if (isLoggedIn) {
2829 setContent {
29- UiSamplesNavGraph ()
30+ JetPackPracticeKitTheme {
31+ UiSamplesNavGraph ()
32+ }
3033 }
3134 } else {
3235 setContent {
33- AuthNavGraph ()
36+ JetPackPracticeKitTheme {
37+ AuthNavGraph ()
38+ }
3439 }
3540 }
3641 }
You can’t perform that action at this time.
0 commit comments