|
|
|
@ -13,6 +13,7 @@ import androidx.compose.foundation.pager.HorizontalPager
|
|
|
|
|
import androidx.compose.foundation.pager.rememberPagerState
|
|
|
|
|
import androidx.compose.foundation.rememberScrollState
|
|
|
|
|
import androidx.compose.foundation.verticalScroll
|
|
|
|
|
import androidx.compose.material.MaterialTheme
|
|
|
|
|
import androidx.compose.material.Text
|
|
|
|
|
import androidx.compose.runtime.Composable
|
|
|
|
|
import androidx.compose.ui.Alignment
|
|
|
|
@ -52,7 +53,10 @@ internal fun NewMessage(
|
|
|
|
|
) {
|
|
|
|
|
val pagerState = rememberPagerState { TITLES.size }
|
|
|
|
|
|
|
|
|
|
Column(modifier = Modifier.background(LocalColors.current.backgroundSecondary)) {
|
|
|
|
|
Column(modifier = Modifier.background(
|
|
|
|
|
LocalColors.current.backgroundSecondary,
|
|
|
|
|
shape = MaterialTheme.shapes.small
|
|
|
|
|
)) {
|
|
|
|
|
AppBar(stringResource(R.string.messageNew), onClose = onClose, onBack = onBack)
|
|
|
|
|
SessionTabRow(pagerState, TITLES)
|
|
|
|
|
HorizontalPager(pagerState) {
|
|
|
|
@ -78,7 +82,7 @@ private fun EnterAccountId(
|
|
|
|
|
.imePadding()
|
|
|
|
|
) {
|
|
|
|
|
Column(
|
|
|
|
|
modifier = Modifier.padding(horizontal = LocalDimensions.current.xsSpacing, vertical = LocalDimensions.current.smallSpacing),
|
|
|
|
|
modifier = Modifier.padding(vertical = LocalDimensions.current.spacing),
|
|
|
|
|
horizontalAlignment = Alignment.CenterHorizontally,
|
|
|
|
|
verticalArrangement = Arrangement.spacedBy(LocalDimensions.current.smallSpacing)
|
|
|
|
|
) {
|
|
|
|
|