mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-15 11:41:47 +00:00
Rounded corners for the new conversation sheet
This commit is contained in:
@@ -7,6 +7,7 @@ import androidx.compose.foundation.layout.height
|
|||||||
import androidx.compose.foundation.layout.padding
|
import androidx.compose.foundation.layout.padding
|
||||||
import androidx.compose.foundation.rememberScrollState
|
import androidx.compose.foundation.rememberScrollState
|
||||||
import androidx.compose.foundation.verticalScroll
|
import androidx.compose.foundation.verticalScroll
|
||||||
|
import androidx.compose.material.MaterialTheme
|
||||||
import androidx.compose.material.Surface
|
import androidx.compose.material.Surface
|
||||||
import androidx.compose.material.Text
|
import androidx.compose.material.Text
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
@@ -36,7 +37,10 @@ internal fun StartConversationScreen(
|
|||||||
accountId: String,
|
accountId: String,
|
||||||
delegate: StartConversationDelegate
|
delegate: StartConversationDelegate
|
||||||
) {
|
) {
|
||||||
Column(modifier = Modifier.background(LocalColors.current.backgroundSecondary)) {
|
Column(modifier = Modifier.background(
|
||||||
|
LocalColors.current.backgroundSecondary,
|
||||||
|
shape = MaterialTheme.shapes.small
|
||||||
|
)) {
|
||||||
AppBar(stringResource(R.string.dialog_start_conversation_title), onClose = delegate::onDialogClosePressed)
|
AppBar(stringResource(R.string.dialog_start_conversation_title), onClose = delegate::onDialogClosePressed)
|
||||||
Surface(
|
Surface(
|
||||||
modifier = Modifier.nestedScroll(rememberNestedScrollInteropConnection()),
|
modifier = Modifier.nestedScroll(rememberNestedScrollInteropConnection()),
|
||||||
@@ -78,7 +82,7 @@ internal fun StartConversationScreen(
|
|||||||
.padding(bottom = LocalDimensions.current.spacing)
|
.padding(bottom = LocalDimensions.current.spacing)
|
||||||
) {
|
) {
|
||||||
Text(stringResource(R.string.accountIdYours), style = LocalType.current.xl)
|
Text(stringResource(R.string.accountIdYours), style = LocalType.current.xl)
|
||||||
Spacer(modifier = Modifier.height(LocalDimensions.current.xxxsSpacing))
|
Spacer(modifier = Modifier.height(LocalDimensions.current.xxsSpacing))
|
||||||
Text(
|
Text(
|
||||||
text = stringResource(R.string.qrYoursDescription),
|
text = stringResource(R.string.qrYoursDescription),
|
||||||
color = LocalColors.current.textSecondary,
|
color = LocalColors.current.textSecondary,
|
||||||
|
|||||||
Reference in New Issue
Block a user