-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMainScreen.kt
More file actions
29 lines (27 loc) · 975 Bytes
/
MainScreen.kt
File metadata and controls
29 lines (27 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.threegap.bitnagil
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.WindowInsetsSides
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.only
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.systemBars
import androidx.compose.material3.Scaffold
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import com.threegap.bitnagil.designsystem.BitnagilTheme
@Composable
fun MainScreen(
navigator: MainNavigator,
modifier: Modifier = Modifier,
) {
Scaffold(
modifier = modifier.fillMaxSize(),
contentWindowInsets = WindowInsets.systemBars.only(WindowInsetsSides.Bottom),
containerColor = BitnagilTheme.colors.white,
) { innerPadding ->
MainNavHost(
navigator = navigator,
modifier = Modifier.padding(innerPadding),
)
}
}