From 36e57a6b7d2e170fdd17286d3a5c5d8909fa513a Mon Sep 17 00:00:00 2001 From: another-simple-pixel Date: Mon, 18 May 2026 09:47:03 -0700 Subject: [PATCH] Revert "GroupLink / WelcomeMessage: use SectionDividerSpaced between adjacent cards" This reverts commit 29be15404f8965c98f46a441534c9c45c44caef8. --- .../chat/simplex/common/views/chat/group/GroupLinkView.kt | 2 -- .../chat/simplex/common/views/chat/group/WelcomeMessageView.kt | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupLinkView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupLinkView.kt index f94a1dabad..e003991590 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupLinkView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupLinkView.kt @@ -1,7 +1,6 @@ package chat.simplex.common.views.chat.group import SectionBottomSpacer -import SectionDividerSpaced import SectionItemView import SectionView import SectionViewWithButton @@ -237,7 +236,6 @@ fun GroupLinkLayout( } else null) { SimpleXCreatedLinkQRCode(groupLink.connLinkContact, short = showShortLink.value) } - SectionDividerSpaced() SectionView { if (!isChannel && groupLink.shouldBeUpgraded) { SettingsActionItem( diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/WelcomeMessageView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/WelcomeMessageView.kt index b4f493faef..e9ce917899 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/WelcomeMessageView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/WelcomeMessageView.kt @@ -118,7 +118,7 @@ private fun GroupWelcomeLayout( color = if (welcomeTextFitsLimit(wt)) MaterialTheme.colors.secondary else Color.Red ) - SectionDividerSpaced() + Spacer(Modifier.size(8.dp)) SectionView { ChangeModeButton( @@ -143,7 +143,6 @@ private fun GroupWelcomeLayout( SectionView(contentPadding = PaddingValues(vertical = DEFAULT_PADDING_HALF)) { TextPreview(wt.value, linkMode) } - SectionDividerSpaced() SectionView { CopyTextButton { clipboard.setText(AnnotatedString(wt.value)) } }