mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 19:23:36 +00:00
card layout
This commit is contained in:
1 parent
94eb6fd880
commit
1d779d5da1
1 file changed
+7
-9
+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))
|
||||
|
||||
Reference in new issue
Block a user