card layout

This commit is contained in:
Evgeny @ SimpleX Chat committed 2026-07-11 17:32:28 +00:00
1 parent 94eb6fd880
commit 1d779d5da1
1 file changed
+7 -9
@@ -125,19 +125,17 @@ fun SetSimplexDomainView(
}
}
ModalView(close = { onClose(close) }) {
ModalView(close = { onClose(close) }, cardScreen = true) {
ColumnWithScrollBar {
AppBarTitle(title)
SectionView {
if (editing.value) {
Box(Modifier.padding(horizontal = DEFAULT_PADDING)) {
ProfileNameField(
name,
placeholder,
isValid = { isValidName(it) },
onInvalidTap = { AlertManager.shared.showAlertMsg(title = generalGetString(MR.strings.invalid_name)) }
)
}
TextEditor(
name,
Modifier,
placeholder = placeholder,
isValid = { isValidName(it) }
)
} else {
SectionItemViewSpaceBetween(click = {
clipboard.setText(AnnotatedString(name.value))