mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-11 18:28:52 +00:00
Revert "GroupLink / WelcomeMessage: use SectionDividerSpaced between adjacent cards"
This reverts commit 29be15404f.
This commit is contained in:
-2
@@ -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(
|
||||
|
||||
+1
-2
@@ -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)) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user